laravel debugbar clear cache code example
Example 1: laravel clear cache
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear
Example 2: laravel clear page cache
php artisan cache:clear
Example 3: debugbar:clear in laravel
Add DEBUGBAR_ENABLED=false to your .env
Debugbar is totally disabled
You can keep APP_DEBUG=true, hence still keep error details for local development
It is not tracked by git