W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 2001

Re: cache problem with IE 4.0-5.0

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 10 May 2001 18:06:58 +0200 (MET DST)
To: Milum Software <shayes@milum.com>
cc: <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.33.0105101805260.11462-100000@tarantula.inria.fr>
On Tue, 10 Apr 2001, Milum Software wrote:

> Help!
>
> I'm having a problem with a resource that I've implemented by extending
> PostableFrame hosted by Jigsaw 2.0.5. It generates HTML through an
> HtmlGenerator with a header that includes the
>
> <HEAD>
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> <META HTTP-EQUIV="Expires" CONTENT="Sun, 28 Dec 1997 00:00:00 GMT">
>    <TITLE>Edit Name</TITLE>
> </HEAD>
>
>   so that browsers will not cache the result and display stale data.
>
> This works fine with Netscape and other browsers, but Internet Explorer
> doesn't support this tag. However, this seemed to work with older versions
> of Jigsaw I used to use.
>
> Does anyone know how to force IE not it cache an HTML page?

You should rather add a no-cache in the headers of the reply
reply.setNoCache();
According to the request sent, it will add the right header in the reply.

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Thursday, 10 May 2001 12:07:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT