Internet Explorer 6 and HTTP compression

Recently I wrote about installing mod_gzip on CentOS 5. However since then I have discovered that Internet Explorer 6 has does not support this properly, and intermittently does not load items properly!

To resolve this I had to change the Apache configuration. This is the configuration that I am now using:

1
2
3
4
5
6
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.[0678] no-gzip
BrowserMatch \bMSIE\s7 !no-gzip !gzip-only-text/html
BrowserMatch \bOpera !no-gzip
Header append Vary User-Agent

This turns off the HTTP compression based on their user agent.

Here are some of the known issues:
http://support.microsoft.com/kb/321722/EN-US/ (IE5.5, IE6 and IE6SP1 always cache gzip encoded content)
http://support.microsoft.com/default.aspx?scid=kb;LN;Q312496 (IE6http://support.microsoft.com/default.aspx?scid=kb;en-us;823386&Product=ie600 (IE6sp1, compressed HTML pages only partially appear)

And this is one of the sites I found to help with the resolution:
http://www.contentwithstyle.co.uk/Blog/147/

2 thoughts on “Internet Explorer 6 and HTTP compression”

Leave a Reply

Your email address will not be published. Required fields are marked *