Re: Altering default HTTP header fields for serving static content

2005-03-02 Thread Andrew Miehs
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, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Altering default HTTP header fields for serving static content

2005-03-01 Thread David.Ratcliffe
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]