使用nginx_concat_module合并http请求
作者:admin 日期:2014-05-02
安装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 latest stable nginx from http://nginx.org.
$ wget http://nginx.org/download/nginx-0.7.65.tar.gz
2) Extract the tarball.
$ tar zvfx nginx-0.7.65.tar.gz
3) Change the working directory to the source of nginx.
$ cd nginx-0.7.65
4) Build nginx with this module and install it. 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
使用
类似于 http://jser.zeroplace.cn/tester/??test.js,test1.js