在 IIS 下为网站应用 GZIP?
如何查明特定 Web 服务器的 GZip 是否启用以及如何应用 IIS 6.0 下网站的 GZip 压缩?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何查明特定 Web 服务器的 GZip 是否启用以及如何应用 IIS 6.0 下网站的 GZip 压缩?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
IIS GUI 不支持在 IIS6 中打开压缩。您需要直接使用设置更新 IIS 元数据库。
MSDN 文档给出了 说明和有用的元数据库示例。
The IIS GUI doesn't support turning compression on in IIS6. You'll need to update the IIS metabase directly with the settings instead.
The MSDN documentation gives a high level overview of HTTP compression but doesn't talk about getting the changes into the metabase. I found some instructions and a helpful metabase example.