我了解到IE6的某些版本在gzip压缩方面存在已知问题,但是我对这些问题的解释却很少。 gzip压缩和IE6的已知问题是什么?
最佳答案
问题描述为in this answer。
如果您使用的是Apache,则Ultimate IE6 > Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs上提供有关如何解决它的信息:
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'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
关于internet-explorer-6 - gzip和IE6的已知问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1456112/