1. Clear Application Cache
Run the following command to clear application cache of the Laravel application.
1 2 3 4 5 |
php artisan cache:clear |
2. Clear route cache
To clear route cache of your Laravel application execute the following command from the shell.
1 2 3 4 5 |
php artisan route:cache |
3. Clear config cache
You can use config:clear to clear the config cache of the Laravel application.
1 2 3 4 5 |
php artisan config:clear |
4. Clear compiled view files
Also, you may need to clear compiled view files of your Laravel application. To clear compiled view files run the following command from the terminal.
1 2 3 4 5 |
php artisan view:clear |
More Stories
CPU & Memory usage in PHP
Install PHP mcrypt extension on Ubuntu
Text to speech