The Mudcat Café TM
Thread #121204   Message #2643425
Posted By: SteveMansfield
29-May-09 - 04:23 AM
Thread Name: Tech: windows cache
Subject: RE: Tech: windows cache
Are you the creator/upkeeper of the page, or the end user?

If you're the page creator, and want to make sure that it doesn't get cached at the client, add the following two tags to the title section of the page:
        META http-equiv="Pragma" content="no-cache"
        META http-equiv="CACHE-CONTROL" content="NO-CACHE"

(You'll have to enclose those two lines in the usual opening and closing angle brackets, but the Mudcat text editor quite sensibly won't let me do that).

In addition you can belt-and-braces by enforcing the no-cache through the code-behind, but I'm guessing that's not applicable here.


If, however, you're just the end-user visiting the site and want to make sure it isn't cached: set your browser to check for a new version of the page every time you visit the page (in Internet Explorer that's Tools menu, Options, the General tab, Settings, select 'Every time I visit the page') and also clear your cache (IE = Tools menu, Options, the General tab, Settings, Delete). I've not got Firefox on this machine but the equivalent command are somewhere in the Tools menu.

Or if you've gone up to Internet Explorer 8 or the latest Firefox betas, use the 'Private Browsing' mode, which doesn't write to your cache ...

And if you're looking at a page and want to be absolutely certain you've got the latest version, hit to force a full reload of the page (in both IE and Firefox).