disable gzip based on user-agent

Eden Li eden at mojiti.com
Tue Nov 27 17:30:03 MSK 2007

Flash in IE6 has issues if you make requests via its ActionScript API.
 IE6 tacks on an `Accept-Encoding: gzip,default` when it makes the
request, but when the server actually returns a gzipped body the Flash
plugin barfs all over it.

I haven't seen any other corner cases like this, but I'm sure there's
another one out there.  I've just disabled gzip encoding for
mime-types that are limited to what our Flash app is pulling, but it'd
be nice to switch it on and off without having to resort duplicating
rules in different location bodies.  IE6 is still the dominant
browser, unfortunately.

On 11/27/07, Athan Dimoy <foxx at freemail.gr> wrote:
> "Igor Sysoev" <is at rambler-co.ru> wrote in message
> news:20071127121827.GE4729 at rambler-co.ru...
> > Well, I think compressing CSS for MSIE6 should be hardcoded disabled.
> > Are other modern browsers those have problems with JS or CSS ?
> Hmm, I wouldn't agree that CSS compression for IE6 should be hardcoded
> disabled. I'm using CSS compression and never noticed any serious issue with
> IE6.
> An option switch would be the best fix IMHO.
> Athan

More information about the nginx mailing list