Internet Explorer 6 VS1 不正确支持 gzip 压缩。然而,它确实理解放气。将方案名称applicationhost.config
从 gzip 更改为 deflate 是否足以解决此问题?使用 deflate 而不是 gzip 有什么缺点吗?
<!-- c:\windows\system32\inetsrv\config\applicationhost.config -->
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<!-- changed name="gzip" to name="deflate" -->
<scheme name="deflate" dll="%Windir%\system32\inetsrv\gzip.dll" />
<dynamicTypes>
[...]
</dynamicTypes>
<staticTypes>
[...]
</staticTypes>
</httpCompression>
相关链接:
- Deflate 压缩浏览器的兼容性和优于 GZIP 的优势
- http://www.vervestudios.co/projects/compression-tests/
- http://en.wikipedia.org/wiki/Internet_Explorer_6
- http://msdn.microsoft.com/en-us/library/ms690689(v=VS.90).aspx
- http://www.iis.net/ConfigReference/system.webServer/httpCompression
- http://support.microsoft.com/kb/837251