nginx openresty配置页面压缩

页面压缩:自动去除html文件中非必要的字符(空白、注释等) 一、安装trrim模块:需要使用到淘宝tengine中trim模块 1,下载tengine:http://tengine.taobao.org/download.html 2,解压压缩包,找到modules下的ngx_http_trim_filter_module文件夹,复制此模块文件,放在项目服务器的 usr/loacl/src文件下
相关文章
相关标签/搜索