gzip enabling for selective browsers
Ezra Zygmuntowicz
ezmobius at gmail.com
Tue Sep 4 20:45:41 MSD 2007
On Sep 2, 2007, at 8:21 AM, Igor Sysoev wrote:
> On Sun, Sep 02, 2007 at 08:44:12PM +0530, Manu J wrote:
>
>> Since IE has problems with gzipped javascript and xml I would like to
>> know how to selectively enable/disable gzipping based on the browser.
>
> By default text/html is compressed only.
> The application/x-javascript, text/xml, application/xml are compressed
> only if they set by gzip_types directive.
>
> nginx has no directive to disable gzip on browser basis, however,
> nginx
> internally disableы gzip for some request made by MSIE 4.x.
>
>
> --
> Igor Sysoev
So nginx cannot selectively gzip based on browser, can it turn off
gzip inside a location /foo {} block?
Thanks
-- Ezra Zygmuntowicz
-- Founder & Ruby Hacker
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
More information about the nginx
mailing list