tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Puneet Agarwal" <>
Subject Re: preventing all caching
Date Tue, 17 Dec 2002 22:03:41 GMT
I have a similar problem, I guess this can be done by
setting the header against particular MIME types in the configuration
file of the webserver.
But Do not know how to set the particular header tag against
some MIME type.<BR>I have asked this to many a people and in
this mailing list as well but to no avail.
I guess if we search in the mailing archive it may help. I
have searched for some initial mails but did not find anything
If you find something please let me know as well.


----- Original Message ----- 
From: "Hans Goeckel" 
Date: Tue, 17 Dec 2002 11:27:54 -0500 
To: "Tomcat Users List" 
Subject: preventing all caching 

> I'm trying to figure out how to prevent caching of any content on a client machine. 
> Our servlets properly use the no-cache directive, but other content is still being cached.

> Specifically, those pages we generate use Javascript to load a set of images from the
server. The HTTP headers in the response to those GETs don't contain the no-cache directive.
I would have thought that adding nocache as a directive to the default settings in web.xml
would take care of this, but it seems to have no effect. 
> Is there any way to force a nocache directive into all content returned by the server?

> Many thanks for any help. 
Sign-up for your own FREE Personalized E-mail at

Meet Singles

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message