http://onjava.com/pub/a/onjava/2004/03/03/filters.html
-----Original Message----- From: pieroxy [mailto:pier...@gmail.com] Sent: Tuesday, October 06, 2009 12:03 PM To: Tomcat Users List Subject: Expiration date on static content? Hello, I do have a tomcat working for several years on my production servers, and I am trying to optimize a thing or two. I already use the gzip compression, and this works very well. However, I noticed that all my static content is served with no expiration date at all. This doesn't tell browsers when to revalidate the static content and let them decide of the caching policy for my site. Is there a place to configure something like this on a Tomcat 6.0.20 install? Is this in the server.xml or by webapp in a context.xml file? web.xml? I couldn't figure out a way to do this... Thanks for your help ******************************* NOTICE ********************************* This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (call us collect at 512-343-9100) and immediately delete this message and all its attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org