gzip和IE6的已知问题 [英] Known issues with gzip and IE6
问题描述
我了解到IE6的某些版本存在gzip压缩的已知问题,但是我对这些问题的解释却很少. gzip压缩和IE6的已知问题是什么?
I read that some versions of IE6 have known issues with gzip compression, but I have found little explanation as to what these issues are. What are the known issues with gzip compression and IE6?
推荐答案
The problem is described in this answer.
If you are using Apache there is information at the Ultimate IE6 > Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs on how to work around it:
XP之前的IE6的某些版本 SP2更新可能会遇到文件问题 使用GZip服务的 压缩.幸运的是, Seb Duggan 发现了一个 IE6 GZip错误 解决方案,使用 ISAPI_Rewrite 用于Apache.
Some versions of IE6 prior to the XP SP2 update may have trouble with files that have been served using GZip compression. Fortunately, Seb Duggan found a IE6 GZip bug solution using ISAPI_Rewrite for Apache.
Seb的解决方案是将 httpd.conf 中的以下代码 ISAPI_Rewrite安装中的文件 目录:
Seb's solution is to place the following code in the httpd.conf file in the ISAPI_Rewrite installation directory:
RewriteEngine on
RewriteCond %{HTTP:User-Agent} MSIE\ [5<span class="highlight">6</span>]
RewriteCond %{HTTP:User-Agent} !SV1
RewriteCond %{REQUEST_URI} \.(css|js)$
RewriteHeader Accept-Encoding: .* $1
这篇关于gzip和IE6的已知问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!