laravel 优化 7 Performance Optimization Tips for the Laravel Developer
运行
php artisan optimize php artisan config:cache #緩存配置 php artisan route:cache # 緩存路由
清空配置和路由緩存
php artisan config:clear php artisan route:clear
PHP中开启gzip压缩的2种方法
服務器設置開啓了 gzip