Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel 9 Clear Cache of Route, View, Config, Event Commands

//This command will clean all application cache clear
Clear Cache:
php artisan cache:clear

//This command will help to clear cache of routes.
Clear Route Cache:
php artisan route:clear

//This command will help to clear cache of views/blade files.
Clear View Cache:
php artisan view:clear

//This command will help to clear cache of config.
Clear Config Cache:
php artisan config:clear

//This command will help to clear cache of events.
Clear Event Cache:
php artisan event:clear

//This command will help to clear cache of config, views, cache files etc.
Command:
php artisan optimize:clear

 
PREVIOUS NEXT
Tagged: #Laravel #Clear #Cache #Event #Commands
ADD COMMENT
Topic
Name
6+4 =