@extends('layouts.app') @section('title', 'Clear System Cache') @section('content')

Clear System Cache Optimize system performance by clearing various caches

Application Cache

Clears variables, query responses, and standard application cache keys. Useful if database changes are not displaying.

@csrf

Route Cache

Refreshes registered URL endpoints and API route paths. Essential after declaring new routes in web.php or api.php.

@csrf

Configuration Cache

Re-compiles environment parameters and project config settings. Crucial if changes to .env file are not being detected.

@csrf

View Cache

Forces re-compilation of Blade template view files. Useful if changes made to HTML/Blade views are not displaying.

@csrf

PHP OPcache

Resets pre-compiled PHP bytecode cache. Highly critical for shared hosting to clear cached php files and environment configs immediately.

@csrf @if($opcache_enabled) @else @endif

Cache Status Info

OPcache Enabled: @if($opcache_enabled) Active @else Disabled @endif
Host Environment: {{ request()->getHost() == '127.0.0.1' || request()->getHost() == 'localhost' ? 'Localhost' : 'Shared Host' }}
Admin Mode: Superadmin Only

Perform Full System Cache Clear

This option clears all application, route, config, and view caches, and resets PHP OPcache in a single operation.

@csrf
@endsection @section('javascript') @endsection