当前位置:首页 > CMS教程 > 其它CMS > 列表

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

发布:smiling 来源: PHP粉丝网  添加日期:2022-07-13 11:29:58 浏览: 评论:0 

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

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

Tags: laravel清理缓存方法

分享到: