tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <>
Subject Re: Altering default HTTP header fields for serving static content
Date Wed, 02 Mar 2005 08:36:35 GMT
If you really want the browser not to cache images, you are better off 
putting a timestamp on
the end of the requests - as no-cache does not convince every browser 
all of the time...

ie:  http://localhost/image.gif?78927842303
On Mar 2, 2005, at 6:46 AM, <> wrote:

> Is there a way to alter the default HTTP header fields when a request 
> is
> made to Tomcat for static content? I would like to be able to add the
> Cache-Control general header field with value "no-cache" when serving
> images so they are not cached on the client side.
> Can anyone please help? I've tried looking everywhere but can't find a
> solution.
> Thanks in advance... David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message