clear cache in laravel

1. Clear Application Cache

Run the following command to clear application cache of the Laravel application.

2. Clear route cache

To clear route cache of your Laravel application execute the following command from the shell.

3. Clear config cache

You can use config:clear to clear the config cache of the Laravel application.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *