永不落伍 发表于 2016-12-23 06:57:44

Nginx 设置Combo减少Http请求

安装nginx_concat_module模块,添加combo,减少http请求
 
 
nginx_concat_module:http://code.taobao.org/p/nginx_concat_module/src/trunk/
 
安装方法(INSTALL文件):
 
Here are some step by step instructions.
1) Download the source code of the lateststable nginx from http://nginx.org.
$ wget http://nginx.org/download/nginx-0.7.65.tar.gz
 
2) Extract the tarball.
$ tar zvfxnginx-0.7.65.tar.gz
 
3) Change the working directory to thesource of nginx.
$ cd nginx-0.7.65
 
4) Build nginx with this module and installit. You may need root privilege to
install it to the default directory.
  $ ./configure--add-module=/path/to/the/source/of/this/module
  $ make
  $ make install
页: [1]
查看完整版本: Nginx 设置Combo减少Http请求