Home >Backend Development >PHP Tutorial >Laravel cache clearing method that you would never expect

Laravel cache clearing method that you would never expect

卡哇伊
卡哇伊forward
2020-07-18 17:14:515038browse

Laravel cache clearing method that you would never expect

These compiled view caches.

   php artisan view:clear

Clear the running cache:

   php artisan cache:clear

Be sure to clear the cache after modifying the configuration of Laravel. Clear the configuration cache:

   php artisan config:clear

Clear the routing cache:

   php artisan route:clear

Create Create session table migration:

   php artisan session:table

These compiled view caches.

   php artisan view:clear

Clear the running cache:

   php artisan cache:clear

Be sure to clear the cache after modifying the configuration of Laravel. Clear the configuration cache:

   php artisan config:clear

Clear the routing cache:

   php artisan route:clear

Create Create session table migration:

   php artisan session:table

More tutorials: "php tutorial"

The above is the detailed content of Laravel cache clearing method that you would never expect. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete