1. 路由缓存
用命令缓存全部路由
php artisan route:cache
用命令清除路由缓存
php artisan route:clear
2.有效使用Artisan命令和缓存
php artisan config:cache
要清除配置缓存,请运行以下命令:
php artisan config:clear
1. 路由缓存
用命令缓存全部路由
php artisan route:cache
用命令清除路由缓存
php artisan route:clear
2.有效使用Artisan命令和缓存
php artisan config:cache
要清除配置缓存,请运行以下命令:
php artisan config:clear