Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm developing a web site. Internet Explorer 7 keeps displaying cached copies of previous versions of my pages. How do I make Internet 7 Explorer get the page from the server with each page load instead of using cached copies?

In previous versions, this setting was easy to find, but I'm having trouble figuring this out in Internet Explorer 7.

share
add comment

4 Answers

up vote 2 down vote accepted

Hmmm... it always seems to work fine for me if I go to the Tools Menu, Internet Options, Settings button, and set the option for "Check for newer versions of stored pages:" to "Every time I visit the webpage" Have you tried this? Doesn't it work for you? It's been in the same place, as far as I know since at least IE6.

share
    
Thanks. It was right there. I looked right over it! –  Rising Star Jun 7 '11 at 21:43
    
Although this setting will solve issues for you as you develop your site, BE SURE to set your HTTP Headers correctly on your final production web server... as most users should have the "Automatic" setting selected in IE to allow proper caching as web servers direct. –  scunliffe Feb 8 '12 at 14:11
add comment

Not the answer you're looking for, but one way to do this is add these tags to the head during development.

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

This has the added benefit of working across all browsers (in theory). There is also a keyboard shortcut to force a reload in Internet Explorer: Ctrl+Shift+F5.

share
    
Definitely not the answer I was looking for :-/ Why isn't the setting easy to find? –  Rising Star Jun 7 '11 at 15:46
add comment

I had the same issue. I'm not sure if it's part of IE7, but they (Microsoft) did release a development bar for IE - this enables you to force a reload of cache each page.

Development bar

(From the overview page): Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.

I was running ASP.NET at the time, so another way is to pass and change the querystring each time, e.g mypage.aspx?querystring=1, mypage.aspx?querystring=2, mypage.aspx?querystring=3.

Hopefully the development bar will help you though.

Edit: Also, Ctrl + F5 is supposed to clear the page cache too, but obviously that's a manual process.

share
add comment

To access the "Check for newer versions of stored pages" option in IE7, 8 and 9:

Tools -> Internet Options -> General Tab -> Click "Settings" button under the Browsing History section.

share
add comment

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .