"MyTest Email" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I need to set tomcat to allways send a new copy of the flash file on the
> server and not send a cached copy, not have proxy servers cache the file,
> etc.
>
> I know that there are client, server and proxy issues but I'm looking to 
> see
> what tomcat configuration can do to assit me to have proxy servers and
> tomcat not cache the flash files.
>

It is possible to set cachingAllowed="false" on the <Context /> element to 
prevent Tomcat from caching, but except in extreme cases it is usually 
useless because of a short TTL (5sec by default).  See 
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html for more details 
on Tomcat caching options.

Otherwise, you have to roll your own Filter that will set the caching 
headers (Expires, Cache-Control, Pragma, etc) to control proxy server 
caching.  Tomcat doesn't provide anything out-of-the-box to do this sort of 
thing.



> With Apache's mod_expire you can set specific file types to not be cached.
> This is claimed to be great for proxy servers.
>
>
>
> e.g.
>
>
>
> ExpiresActive On
>
> ExpiresByType image/gif A2592000
>
> ExpiresByType image/png A2592000
>
> ExpiresByType image/jpg A2592000
>
> ExpiresByType image/jpeg A2592000
>
> ExpiresByType application/x-javascript A2592000
>
> ExpiresByType application/x-Shockwave-Flash A2592000
>
>
> is there an equivalent method for tomcat?
>
> Thanks in advance
> -Steve
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to