Laravel Artisan Cache Command: The cache:clear Command

Laravel

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:

php artisan cache:clear
php artisan cache:clear file

Start the Discussion

Leave a comment

Subscribe to our newsletter