5 messages in ru.sysoev.nginxRe: gzip_static
FromSent OnAttachments
Ian M. EvansDec 29, 2007 12:16 am 
Igor SysoevDec 29, 2007 12:46 am 
Evan MillerDec 29, 2007 8:45 am 
Igor SysoevDec 29, 2007 8:59 am 
Evan MillerDec 29, 2007 9:27 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: gzip_staticActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Dec 29, 2007 12:46:08 am
List:ru.sysoev.nginx

On Sat, Dec 29, 2007 at 03:16:45AM -0500, Ian M. Evans wrote:

The gzip_static static module seems like something that could help us during high traffic events. I didn't see a wiki entry for it...is there some documentation?

./configure --with-http_gzip_static_module ...

location /js/ { gzip_static on;

# common directives with gzip filter module gzip_http_version 1.1; gzip_proxied expired no-cache no-store private auth; gzip_disable "MSIE [1-6]\."; gzip_vary on; }

Then a request /js/prototype.js will be handled by /js/prototype.js or by precompressed /js/prototype.js.gz if it is exist.

Try to keep the same keep modification time of both files.