Welcome! Log In Create A New Profile

Advanced

Re: [ANN] Working on Nginx Tutorials in Chinese

António P. P. Almeida
December 09, 2011 10:38AM
On 7 Dez 2011 03h16 WET, zhuzhaoyuan@gmail.com wrote:


> Thanks for agentzh's CC.
>
> Here is a synopsis below:
>
> SYNOPSIS
> location /foo/ {
> # turn on concatenation
> # (default: off)
> concat on;
> }
>
> location /bar/ {
> # turn on concatenation
> # (default: off)
> concat on;
>
> # max concat file number allowed
> # (default: 10)
> # concat_max_files 10;
>
> # only files in the same content types are allowed
> # (default on)
> # concat_unique on;
>
> # content types allowed
> # (default: application/x-javascript, text/css)
> # concat_types text/html;
> }
>
> DESCRIPTION
> The idea of combining multiple files together to speed up
> page rendering was first brought in perlbal, by David
> Davis. Then mod_concat was implemented by Ian Holsman at
> AOL. This technique is really simple but very useful, by
> specifing a set of files to load in one HTTP request.
>
> This module basically works as what its apache cousin does.
> Additionally, it also support maximum concat file number
> setting and version string (the string after the third
> question mark will be treated as version string and
> ignored).
>
> EXAMPLE
> http://foobar.com/??a.js,b.js,c.js
> http://foobar.com/??a.css,b.css,c.css
> http://foobar.com/??a.js,dir1/b.js,dir2/c.js
> http://foobar.com/somelocation/??1.js,2.js
> http://foobar.com/??a.js,b.js,c.js?t=20100520
>
> SEE ALSO
> http://code.google.com/p/modconcat/
> http://www.artzstudio.com/2008/08/using-modconcat-to-speed-up-render-start/
>

Thank you very much. I've placed the module on github with the proper
attribution. Feel free to suggest any improvements to the README.

Regards,
António

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[ANN] Working on Nginx Tutorials in Chinese

agentzh December 06, 2011 02:58AM

Re: [ANN] Working on Nginx Tutorials in Chinese

Sharl.Jimh.Tsin December 06, 2011 03:22AM

Re: [ANN] Working on Nginx Tutorials in Chinese

agentzh December 06, 2011 04:46AM

Re: [ANN] Working on Nginx Tutorials in Chinese

António P. P. Almeida December 06, 2011 04:26AM

Re: [ANN] Working on Nginx Tutorials in Chinese

agentzh December 06, 2011 04:42AM

Re: [ANN] Working on Nginx Tutorials in Chinese

António P. P. Almeida December 06, 2011 04:54AM

Re: [ANN] Working on Nginx Tutorials in Chinese

Joshua Zhu December 06, 2011 10:18PM

Re: [ANN] Working on Nginx Tutorials in Chinese

António P. P. Almeida December 09, 2011 10:38AM

Re: [ANN] Working on Nginx Tutorials in Chinese

António P. P. Almeida December 09, 2011 10:40AM

Re: [ANN] Working on Nginx Tutorials in Chinese

Joshua Zhu December 09, 2011 12:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready