摘要: 1、缓存配置 只需在http的server模块里配置即可,如: location ~.*\.(jpg|png|gif)$ { expires 30d; } location ~.*\.(css|js)?${ expires 1h; } 2、压缩配置 gzip on gzip_min_length 1 阅读全文
posted @ 2016-03-01 15:27 北京流浪儿 阅读(238) 评论(0) 推荐(0) 编辑