- From: Henrik Kniberg <henrik@kniberg.com>
- Date: Tue, 7 Sep 1999 18:04:08 -0400 (EDT)
- 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: http://server.milliweb.com/temp/date.shtml 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 updated! What is the solution? /Henrik -- 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