disable gzip based on user-agent

Eden Li eden at mojiti.com
Tue Nov 27 18:29:06 MSK 2007

Hmm, I've been running a separate webserver that has a rule that says
"only gzip for non-IE6 browsers" without issue, so maybe it's been
fixed in Opera and Firefox (and other mainstream browsers), but not

Anyway, is there any possible way to disable gzip based on user agent
via some directive?

On 11/27/07, Igor Sysoev <is at rambler-co.ru> wrote:
> Flash in any browser does not understand gzipping and this is well known
> fact, at least for me :). I developed mod_deflate for Apache 1.3 long ago
> and had documented this here (in Russian):
> http://sysoev.ru/mod_deflate/readme.html#types
> http://sysoev.ru/mod_deflate/readme.html#browsers
> So the single way is disable gzip in locations which are requested
> from Flash. It is not depeneded on browser.

More information about the nginx mailing list