W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1999

Caching problem with IE5 and SSI

From: Henrik Kniberg <henrik@kniberg.com>
Date: Tue, 7 Sep 1999 18:04:08 -0400 (EDT)
Message-ID: <37D58B77.7E8992A1@kniberg.com>
To: www-jigsaw@w3.org
Does anyone know how to tell web browsers to NOT cache a page?  Pages
containing for example Server-side includes should in most cases not be
cached.  I thought I managed to solve this problem before by including
the following tag:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

This worked fine until I tested with Internet Explorer 5, who seems to
ignore it.  So the question - what can I do from the server-side to stop
browsers such as IE5 from caching dynamically generated pages which
aren't supposed to be cached?

Here is simple demonstration of the problem:

That page simply displays the server's date.  Press the "refresh" button
a few times in your browser.  If you have Netscape 4.5 or Internet
Explorer 4, you will notice that the date is updated, which it should
since it is based on an SSI - but in Internet Explorer 5, the page is
cached locally and not reloaded from the server, so the date is not

What is the solution?


Henrik Kniberg    milliWeb, Stockholm
                  WWW:    http://www.milliweb.com
                  email:  henrik@kniberg.com
                  tel:    +46 8 560 24788
                  mobile: +46 70 492 5284
Received on Wednesday, 8 September 1999 04:46:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:35 UTC