Re: Setting the expiry for static content served by Tomcat 6.0.32

2011-02-23 Thread Martin Grotzke
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

Re: Setting the expiry for static content served by Tomcat 6.0.32

2011-02-23 Thread chris derham
> > 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

Setting the expiry for static content served by Tomcat 6.0.32

2011-02-23 Thread 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 or sever.xml .Or the only way to achieve this is to write my own filter which will add the appropriate header. Thanks