laravel 优化 7 Performance Optimization Tips for the Laravel Developer
run
php artisan optimize
php artisan config:cache #緩存配置
php artisan route:cache # 緩存路由
Empty the cache configuration and routing
php artisan config:clear
php artisan route:clear
PHP are two ways to open in gzip-compressed
Server setup opens the gzip