你绝对想不到的laravel清理缓存方法

2020-07-29 10:06:22

这些编译好了的视图缓存。

   php artisan view:clear

清除运行缓存:

   php artisan cache:clear

Laravel修改配置后一定要清理缓存,清除配置缓存:

   php artisan config:clear

清除路由缓存:

   php artisan route:clear

创建建立session表迁移:

   php artisan session:table

这些编译好了的视图缓存。

   php artisan view:clear

清除运行缓存:

   php artisan cache:clear

Laravel修改配置后一定要清理缓存,清除配置缓存:

   php artisan config:clear

清除路由缓存:

   php artisan route:clear

创建建立session表迁移:

   php artisan session:table

更多教程:《php教程》

相关文章 大家在看