tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Hopkins" <alist...@berthengron.co.uk>
Subject RE: IE caching again (was: expire_
Date Mon, 19 Mar 2001 11:39:38 GMT
I think that the caching settings on IE only affect files written to disk.
There appears to be a memory-only cache which stores the very latest stuff
which is not affected.  This is what causes the problem, as clearly it will
contain whatever was the last page so pressing back shows the page without
doing a HEAD request.  It only does this for GET requests, so one way is to
use POSTS throughout...

-----Original Message-----
From: Tagunov Anthony [mailto:atagunov@nnt.ru]
Sent: Friday, March 16, 2001 2:57 PM
To: tomcat-user@jakarta.apache.org
Subject: IE caching again (was: expire_


Well, there's already been an extensive discussion on this in the
list just the last days all day long. Arrived to nothing.
(only you may try to issue

>                response.setHeader("Cache-Control","no-cache");
>                response.setHeader("Pragma","no-cache");
>                response.setHeader("Expires",-1)

instead... Please try to search the list, there have been some
references on FAQs on caching..

My own guess is that maybe people that have trouble with this
have caching setting in their IE wrong? There are some
levels there, maybe you have a setting at the stricktest
level that prevents webapps that don't want there pages
cached from working at all?

On Fri, 16 Mar 2001 10:59:50 +0100, Heijns, P.J.B. wrote:

>I tried, but it doesn't work. If I push the back button in my browser, the
>page isn't expired or correctly resfreshed. So I see the same previous page
>where I was before. I used IE, in netscape it works correctly.
>
>Grtz Pieter
>
>-----Original Message-----
>From: Alistair Hopkins [mailto:alistair@berthengron.co.uk]
>Sent: vrijdag 16 maart 2001 9:58
>To: tomcat-user@jakarta.apache.org
>Subject: RE: expire
>
>
>                response.setHeader("Cache-Control","no-cache");
>                response.setHeader("Pragma","no-cache");
>                response.setHeader("Expires","Tue, 01 Jan 1980 1:00:00
>GMT");
>
>covers various browsers and os's and the like, but it still seems to get
>cached, particularly in ie 5, for unknown reasons and to an intermittent
>schedule :-(
>
>-----Original Message-----
>From: Heijns, P.J.B. [mailto:P.J.B.Heijns@tue.nl]
>Sent: Friday, March 16, 2001 8:54 AM
>To: tomcat-user@jakarta.apache.org
>Subject: expire
>
>
>Hi,
>
>Does anyone know how I can expire a JSP page? I want that if you leave the
>JSP page it immediately expires, so that the users can't use the back
button
>in there browser to go to the previous page.
>
>Thank u,
>
>Pieter Heijms
>Pieter Heijms





Mime
View raw message