码迷,mamicode.com
首页 > 其他好文 > 详细

laravel 优化小记

时间:2019-07-28 19:47:21      阅读:95      评论:0      收藏:0      [点我收藏+]

标签:tps   orm   conf   route   eve   artisan   ati   ref   optimize   

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

laravel 优化小记

标签:tps   orm   conf   route   eve   artisan   ati   ref   optimize   

原文地址:https://www.cnblogs.com/fsong/p/11260190.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!