主页

1、清除应用程序缓存

php artisan cache:clear

2、路由缓存

php artisan route:clear  // 关闭路由缓存
php artisan route:cache // 开启路由缓存 【开发环境,不要开启】

3、配置缓存

php artisan config:clear  // 清除配置缓存
php artisan config:cache // 开启配置缓存

4、清除视图缓存

php artisan view:clear

5、配置缓存

php artisan config:clear

6、路由缓存

php artisan route:clear

原文参考:https://www.cnblogs.com/e0yu/p/16487979.html

版权属于:三分快乐,七纷幸福
作品采用:本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
0
查看目录

目录

来自 《laravel 清除缓存操作》
评论

三分快乐,七纷幸福
99 文章数
7 评论量
11 分类数
102 页面数
已在风雨中度过 2年199天23小时50分