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

标签: none

添加新评论