Dear Tomcat ppl,

This caching problem, may well be an IE problem.

Internet Explorer employs what is called 'agressive caching strategy' , it
hardly ever tries to get the entire page again, no matter what caching
strategy you use.  (Use a packet sniffer and all the different caching
options, behaviour is nearly exactly the same)

If you include these in your page, it may help:

<META http-equiv="expires" content="Thu, 1 October 1998 00:00:00 PST">
<META http-equiv="pragma" content="nocache">
<META http-equiv="cache-control" content="no-cache">

Also , appending timestamp strings to your application URLs may help.. 

Then again, this may not be the problem.  Let me know how you go.

Hope this helps,
Jared Clinton
Software Engineer
Maxi Multimedia
NEC Australia.

> -----Original Message-----
> From: Sean Pritchard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 10 May 2001 3:31
> To: '[EMAIL PROTECTED]'
> Subject: RE: Odd Page Caching Behavior
> 
> 
> I have had a similar problem.  I don't know the cause, but 
> stopping tomcat,
> deleting the contents of the "work" folder and restarting 
> forces a recompile
> without rebooting.
> 
> Sean
> 
> -----Original Message-----
> From: Frank Lawlor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 11:34 AM
> To: Tomcat (E-mail)
> Subject: Odd Page Caching Behavior
> 
> 
> Sometimes after developing for a while, Tomcat will stop showing 
> my changes and insist on showing an old version of one or more
> of my pages.
> 
> I have IE (5.50) set to re-access the page on every visit and
> deleting all the files and restarting IE doesn't fix the problem.
> Re-starting Tomcat and VisualAge doesn't fix it.  Only 
> re-boot works.
> 
> I had one page, index.jsp, which I replace with a completely
> different content.  It kept showing the old one.  If I removed
> index.jsp, I would get a "not found" as expected, but as 
> soon as I put the new index.jsp in, I would get the old 
> content again.
> 
> Weird.  Any ideas on what is caching the pages?  How to
> stop it.
> 
> Frank Lawlor
> Athens Group, Inc.
> (512) 345-0600 x151
> Athens Group, an employee-owned consulting firm integrating technology
> strategy and software solutions.
> 
> 

Reply via email to