gzip enabling for selective browsers

Igor Sysoev is at rambler-co.ru
Sun Sep 2 19:21:44 MSD 2007


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
http://sysoev.ru/en/





More information about the nginx mailing list