You might serve static resources with Apache/nginx/haproxy. This has also
the advantage that you save threads in tomcat.
Cheers,
Martin
Am 23.02.2011 14:47 schrieb "Reinwald Warapen" :
Hey,
Is there any way I can specify the expiry of static content (js,css etc) by
some setting in the context.xml
>
> Is there any way I can specify the expiry of static content (js,css etc) by
> some setting in the context.xml or sever.xml .Or the only way to achieve
> this is to write my own filter which will add the appropriate header.
>
We used this http://www.vineetmanohar.com/2010/10/java-expiry-date-h
Hey,
Is there any way I can specify the expiry of static content (js,css etc)
by some setting in the context.xml or sever.xml .Or the only way to
achieve this is to write my own filter which will add the appropriate
header.
Thanks