Jetty has a CacheControl parameter (can be specified webdefault.xml) that determines the caching behavior of clients (by affecting headers sent to clients).
Does Tom
Since Tomcat 7 there is a container provided expires filter that may help. See:
ExpiresFilter is a Java Servlet API port of Apache mod_expires. This filter controls the setting of the
ExpiresHTTP header and themax-agedirective of theCache-ControlHTTP header in server responses. The expiration date can set to be relative to either the time the source file was last modified, or to the time of the client access.
ExpiresFilter
org.apache.catalina.filters.ExpiresFilter
ExpiresByType image
access plus 10 days
ExpiresByType text/css
access plus 10 hours
ExpiresByType application/javascript
access plus 10 minutes
ExpiresDefault
access plus 0 seconds
ExpiresFilter
/*
REQUEST