1
(1)第1步:之后第一个请求,Web服务器响应:为什么也就是不与请求“如果 - 无 - 匹配”
HTTP/1.0 200 OK Date: Mon, 14 Jan 2013 02:20:51 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-Powered-By: PHP/5.2.8 Cache-Control: max-age=0 ETag: "LV50F29509" Content-Type: text/html; charset=UTF-8 X-Frame-Options: DENY X-Lvmi-Encoding: 16544/51562, 33% Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 16544 X-Cache: MISS from test.abc.com X-Cache-Lookup: MISS from test.abc.com:80 Via: 1.0 test.abc.com (squid/3.0.STABLE20) Connection: keep-alive
(2)第2步:单击页面中的链接(链接网页本身),IE浏览器的请求搭配:
GET /film HTTP/1.1 Accept: / Referer: http://www.test.com/film Accept-Language: zh-cn Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; EmbeddedWB 14.52 from: http://www.bsalsa.com/ EmbeddedWB 14.52; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Host: www.test.com Connection: Keep-Alive Cookie: CX=1024; CY=712; ID=TEST
我的问题:为什么IE浏览器(8.0)不要要求“如果 - 无 - 匹配”
Referrer与要加载的URL相同。这是否有所作为?你是否按F5重新加载?你能尝试在新标签中手动输入网址吗? – Thilo
不是F5,我只是点击页面中的链接,链接到同一页面本身。 –
HTTP/1.0支持ETag吗?或者{{X-Cache-Lookup:MISS from test.abc.com:80 X-Cache:MISS from test.abc.com}}是否意外? –