Search

Laravel Artisan Cache Command: The cache:clear Command

December 7, 2016 —John Koster

The cache:clear command can be used to clear the applications cache files. The command defines an optional store parameter which can be used to change which cache store is cleared. By default the store parameter will be set to whatever value is stored in the cache.default configuration entry (by default this is file).

The following are examples of how to call the cache:clear command:

1php artisan cache:clear
2php artisan cache:clear file

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.