gzip和IE6的已知问题 [英] Known issues with gzip and IE6

查看:61
本文介绍了gzip和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.

如果您使用的是Apache,请访问

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆