问题
Do the F12 developer tools in Internet Explorer 11 also have the "Always refresh from server" feature of the developer tools in IE 8-10?
I see the "Clear browser cache... (Ctrl + R)" button on the Network tool, but clicking on it appears to do nothing (the Temporary Internet Files folder still has files in it afterward). I also have the "Check for newer versions of stored pages:" setting set to "Every time I visit the webpage", but this does not appear to always refresh external assets.
Can the cache be completely disabled in IE 11 for development?
For now I am just holding down the Ctrl key and clicking on the refresh button (per Wikipedia's instructions to bypass the cache), but this is easy to forget to do.
回答1:
It seems they have added the "Always Refresh from Server" button in the RTM version of IE11 that ships with Windows 8.1
It is found in the Network tab of the developer tools, 3rd button from the left.
回答2:
March 12th, 2016 Update
The fourth icon from the left highlighted in blue Internet Explorer 11 on Windows 10:
The fourth icon from the left highlighted in blue Internet Explorer 12 "Edge" on Windows 10:
Older versions, IE11 and possibly IE10 on Windows 7 before a Windows Update:
The Internet Explorer Developer Toolbar was thankfully revised however apparently no one updated their answer so you can disable the cache here:
回答3:
Hey you can set this setting in internet options. Under the general tab choose settings.
Then in settings choose 'Every time I visit the webpage', it should have the same effect.
回答4:
Official version IE 11 windows 7 still has this problem. I have reported this at the IE forum
http://connect.microsoft.com/IE/feedback/details/800257/ie11-clear-browser-cache-in-developer-tools-does-not-clear-the-browser-cache
回答5:
Unfortunately I can confirm your suspicions, there is no 'Always refresh from server' feature in F12 tools in IE 11 preview as far as I can tell.
There is clear browser cache button you mentioned which does nothing.
Currently the only way to get fresh content from the server is to refresh IE11 with Ctrl+F5 keys combination.
IE 11 is still in preview, so let's hope MS will at least fix clear browser cache button before official release.
来源:https://stackoverflow.com/questions/18083239/what-happened-to-always-refresh-from-server-in-ie11-developer-tools