2 messages in ru.sysoev.nginxRe: trying to understand default sett...
FromSent OnAttachments
Yusuf GoolamabbasMar 2, 2007 12:24 am 
Igor SysoevMar 6, 2007 10:46 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: trying to understand default setting of disabling compression if Request has Via headerActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Mar 6, 2007 10:46:08 am
List:ru.sysoev.nginx

On Fri, Mar 02, 2007 at 04:24:29PM +0800, Yusuf Goolamabbas wrote:

My reading of the gzip_proxied parameter indicates that if a Via: header is found in the request header than nginx will not compress the response. Would like to understand the rationale for this

http://wiki.codemongers.com/NginxHttpGzipModule#gzip_proxied

By default nginx does not compress if request is 1) HTTP/1.0 2) and has a Via header (i.e. proxied)

because there are broken proxies (e.g. some WinRoutePro versions) that cache gzipped content and give it to clients that do not understand them.