你绝对想不到的laravel清理缓存方法
16lz
2021-01-22
这些编译好了的视图缓存。
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教程》
更多相关文章
- 示例PHP MemCached高级缓存应用代码
- 详解PHP网页缓存技术优点及代码实例
- php+redis实现全页缓存系统
- php中缓存的种类
- 使用 PHP 实现 LRU 缓存淘汰算法
- PHP字节码缓存和内置服务器
- mall整合Redis实现缓存功能