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

卡哇伊
卡哇伊 转载
2023-04-09 09:48:01 4001浏览

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

   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教程

以上就是你绝对想不到的laravel清理缓存方法的详细内容,更多请关注php中文网其它相关文章!

声明:本文转载于:csdn,如有侵犯,请联系admin@php.cn删除