squid 3 缓存asp页面。asp页面:<% Response.AddHeader "Last-Modified","Wed, 07 Jan 2000 10:35:56 GMT" response.CacheControl="max-age=10"
asp页面:
复制代码 代码如下:
<%
Response.AddHeader "Last-Modified","Wed, 07 Jan 2000 10:35:56 GMT"
response.CacheControl="max-age=10"
Response.write(now())
%>
说明:
1、必须加Last-Modified;
2、能正常缓存max-age指定的时间了!