【发布时间】:2011-07-30 14:13:08
【问题描述】:
我使用 IIS 6 和 IIS 7 作为 Web 服务器。
运行Google page speed online后,提示我应该是:Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
它列出了很多普通的图像、我的javascript文件和样式表。
我如何为这些静态文件设置有效期?我以为这是浏览器自动完成的?
【问题讨论】:
-
奇怪,在这个问题上获得了一个受欢迎的问题徽章,但没有人支持它。 :)