http://blog.httpwatch.com/2007/10/19/using-ctrlf5-in-ie-7/
Typing Ctrl+F5 in Internet Explorer is a handy way to force the reload of a page and all its component parts (e.g. images, css , javascript etc). It has the same effect as visiting a page with an empty browser cache.
If you use HttpWatch with Ctrl+F5 in IE 6, you can see that every request returns an HTTP 200 OK response:
This indicates that the complete content of each HTTP item was returned.
However, in IE7 you may see a different response after typing Ctrl+F5:
Only the HTML of the page is returned with a 200 OK
response; the other items return a 304 Not Modified
response. Looking more closely with HttpWatch you can see that If-Modified
headers were sent with every request. This is what you would expect from typing F5 or clicking the Refresh button.
It turns out that Ctrl+F5 only works in IE 7 if the keyboard focus is on the web page itself. If you move the focus anywhere else, such as back to the location bar, it ignores the Ctrl key and behaves as if F5 were typed on its own.
So if you really want to do a forced refresh in IE7 make sure you click on the web page or tab first.
在IE中按Ctrl+F5 是个强制重新加载页面所有组件的方法(如images,css,javascript等),它等效于访问空缓存的页面.
如果你在IE6中使用Ctrl + F5,用HttpWatch分析的话,你可以看到每一个HTTP请求将返回http200OK:
这表明每一个HTTP返回完整的内容。
然而,在IE7你打完Ctrl + F5可以看到不同的回应:
只有HTML页面返回200OK响应;其它项目返回304没有修改的回应。通过HttpWatch更仔细的分析,你可以看到If-Modified headers每个请求发送。这就是你打F5或点击刷新按钮所期望的。
这说明Ctrl + F5仅能工作在IE 7,并且键盘焦点在网页本身。如果你移动集中在任何其他的地方,如地址栏,它忽略了Ctrl键和就像F5按在地址栏一样。
所以如果你真想强制刷新在IE7,确保你先点击网页或标签。