上面的测试是在Web服务器上IIS启用动态内容压缩(dynamic content compression)的情况下进行的,如果关闭动态内容压缩,每次请求返回都是200 OK,Vary都是星号。也就是说浏览器游览缓存根本没起作用。
基于1个网页-相关网页
As an example, the file type aspx content (ASP.Net) is not compressed by default with dynamic compression so that file type must be added to the list (KB article 332603). To do that, you will.
例如,在默认情况下,动态压缩并不会压缩文件类型为aspx的内容(ASP.Net),所以必须在列表中添加这个文件类型(kb文章332603)。
In the popular Internet Information Services Web server version 5.0 (IIS 5.0), HTTP compression is supported on static files and dynamic content produced by server-side applications.
在流行的Internet Information Services Web服务器5.0 (IIS 5.0)中,支持对静态文件和服务器端应用程序生成的动态内容应用HTTP压缩。
The Microsoft IIS 5.0 Web server supports compression of dynamic and static content. When considering using dynamic compression, administrators should be familiar with some issues.
Microsoft IIS 5.0 Web服务器支持动态和静态内容的压缩。
应用推荐