【发布时间】:2011-12-03 19:23:24
【问题描述】:
我看到人们只是检测到请求浏览器是否支持 http 压缩。如果支持则检测是否支持 gzip 或 deflate。
然后将属性添加到响应对象,如
HttpContext.Current.Response.AppendHeader("Content-encoding", "gzip");
或
HttpContext.Current.Response.AppendHeader("Content-encoding", "deflate");
我只需要知道谁真正comresee 响应。它是网络服务器还是 asp.net 工作进程。请详细讨论谁以及如何压缩响应。谢谢
【问题讨论】: