自学内容网 自学内容网

laravel清除不同缓存

1、清除应用程序缓存:

php artisan cache:clear

2、清除路由缓存:


php artisan route:cache

3、清除配置缓存:


php artisan config:cache

4、清除编译后的视图文件:


php artisan view:clear

5、清除事件和监听器缓存:

php artisan event:clear

6、清除缓存数据库:

php artisan db:wipe

原文地址:https://blog.csdn.net/wkj001/article/details/143029494

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!