[thelist] Forcing no caching in IE

Anthony Baratta Anthony at Baratta.com
Thu Oct 12 17:34:16 CDT 2000


aardvark wrote:
> > From: "Steven Stalzer" <steve at newmediacreations.com>
> >
> > Anyone know how to force an html page not to be cached in Internet Explorer?
> > I'm using SSI, so I figured I could use one of the directives in the HTTP header
> > spec and send it as a print statement after the content-type header, (e.g.
> > Pragma: no-cache)  but this does not seem to work in IE. Is there a way for me
> > to include it in the shtml file instead, before the SSI script is called, for
> > example? Any tips appreciated.


This particular anomaly bears repeating its best solution.....


> 222064 No-cache" Tag May Not Prevent Page from Being Cached
> The information in this article applies to:
> 
>  - Microsoft Internet Explorer versions 3.02, 4.0, 4.01, 
>     4.01 Service Pack 1, 5 for Windows 95
>  - Microsoft Internet Explorer version 5 for Windows 98
>  - Microsoft Internet Explorer versions 4.0, 4.01, 4.01 
>     Service Pack 1, 5 for Windows NT 4.0
> 
> When you use the <HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> metatag in the
> header section at the beginning of an HTML Web page, the Web page may
> still be cached in the Temporary Internet Files folder.
> 
> A page that Internet Explorer is browsing is not cached until half of
> the 64  KB buffer is filled. Usually, metatags are inserted in the header 
> section of an HTML document, which appears at the beginning of the document. 
> When the HTML code is parsed, it is read from top to bottom. When the
> <HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> metatag is read, Internet Explorer 
> looks for the existence of the page in cache at that exact moment. If it is 
> there, it is removed.
> 
> To properly prevent the Web page from appearing in the cache, place
> another header section at the end of the HTML document. For example:
> 
> </BODY>
> 
>    <HEAD>
> 
>    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
> 
>    </HEAD>
> 
>    </HTML>
>




More information about the thelist mailing list