tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Janner" <>
Subject RE: Expiration date on static content?
Date Tue, 06 Oct 2009 17:10:05 GMT

-----Original Message-----
From: pieroxy [] 
Sent: Tuesday, October 06, 2009 12:03 PM
To: Tomcat Users List
Subject: Expiration date on static content?

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
and this works very well.

However, I noticed that all my static content is served with no
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?

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:
For additional commands, e-mail:

View raw message