8 messages in ru.sysoev.nginxRe: disable gzip based on user-agent
FromSent OnAttachments
Ian M. EvansNov 26, 2007 11:28 pm 
Manlio PerilloNov 27, 2007 12:20 am 
Igor SysoevNov 27, 2007 4:18 am 
Athan DimoyNov 27, 2007 5:08 am 
Eden LiNov 27, 2007 6:29 am 
Igor SysoevNov 27, 2007 7:06 am 
Eden LiNov 27, 2007 7:28 am 
Igor SysoevNov 27, 2007 7:38 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: disable gzip based on user-agentActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Nov 27, 2007 7:06:35 am
List:ru.sysoev.nginx

On Tue, Nov 27, 2007 at 10:30:03PM +0800, Eden Li wrote:

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.

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.

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-Y8qEzhMunLxMo1R+fwT@public.gmane.org> wrote:

"Igor Sysoev" <is-G@public.gmane.org> wrote in message news:2007@public.gmane.org

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