I have a js file which is cached between 5-10 minutes, depending on whether I\'m using tomcat from the eclipse (via GWT plugin) or starting tomcat as standalone
js
There is a Filter available in tomcat 7
ExpiresFilter org.apache.catalina.filters.ExpiresFilter ExpiresByType image access plus 10 days ExpiresFilter /* REQUEST
You can find more details here
https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/filters/ExpiresFilter.html