I’m currently posting tutorials for the “Nginx Variables” series in
great details. And I’m trying to post an article every work day.
I’m hoping that I can eventually work out an Nginx book in Chinese
based on these materials soon so I’m working hard and seriously.
If you cannot read Chinese, please try out translating tools like
Google Translator I’m very willing to find someone to translate
these to English or any other languages though
i think you should leave any 3rd BSP such as Sina,Netease.and build your
own weblog platform(why not use Nginx + Wordpress),and put those content
on it.
just a suggestion.
–
Best regards,
Sharl.Jimh.Tsin (From China Obviously Taiwan INCLUDED)
I’ve riped out the http_concat_module from tengine and compiled it
against 1.1.10 as a regular HTTP (not filter) module.
I enabled the debug level on the error log and strangely (or not)
enough I never watch signs of life from the module.
With:
concat on; # default off
concat_max_files 20; # default 10
on a CSS/JS providing location.
I’ve played with the concat_unique flag also.
From my very poor understanding the code does the following.
It tries to concatenate requests of CSS/JS files (the default types)
as a single one whenever the client requests several of these
resources on a given location.
It uses the OS file cache whenever possible.
Since we’re not changing the page, the client request made are the
same the concat module does all this stuff “in request handling”.
On Tue, Dec 6, 2011 at 4:20 PM, Sharl.Jimh.Tsin [email protected]
wrote:
i think you should leave any 3rd BSP such as Sina,Netease.and build your
own weblog platform(why not use Nginx + Wordpress),and put those content
on it.
I’ve been putting stuffs on Sina Blog just because I was too lazy to
set up a blog myself and I’m always unwilling to run any online code
written in any of those P* languages in my own box
# 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).