mod_deflate / gzip causing problems in IE
Posted: Mon Jul 21, 2008 12:42 pm
I am using the following code for gzip compression on my websites, but for some reason it intermittently causes IE to display a blank page. I've noticed it happens a lot during redirects. Does anybody see anything in this code that would cause issues?
Code: Select all
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css application/x-javascript application/javascript text/javascript text/plain text/xml text/csv text/x-component
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
<IfModule mod_headers.c>
Header append Vary User-Agent
</IfModule>
</IfModule>