Cache Configuration
@php $cacheToggles = [ ['name' => 'cache_system', 'label' => 'Application Cache', 'desc' => 'Cache config, routes, and views'], ['name' => 'static_cache_system', 'label' => 'Static HTML Cache', 'desc' => 'Cache rendered pages'], ['name' => 'category_cache_system', 'label' => 'Category Cache', 'desc' => 'Cache category queries'], ['name' => 'refresh_cache_database_changes', 'label' => 'Auto-Refresh on DB Changes', 'desc' => 'Invalidate cache when data changes'], ]; @endphp @foreach($cacheToggles as $toggle)
{$toggle['name']} ?? false))> {{ $toggle['desc'] }}
@endforeach
Default: 1800 (30 minutes) · Min: 60 (1 minute) · Max: 604800 (7 days)
Cache Actions
Note: Clearing cache may temporarily slow down your site while it rebuilds cached data. Use this feature cautiously during peak hours.

Clears all application caches including config, routes, views, and data caches. Use this after making significant configuration changes.

@csrf
@push('scripts') @endpush