tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: caching static objects
Date Tue, 23 Mar 2004 14:35:09 GMT


>We are running Tomcat-standalone and are having some caching issues. It
>appears to be a browser issue, but there's got to be some workaround.
>We've got the headers set to pragma nocache, but it continues to cache
>objects, such as charts that are created dynamically. I suppose this
>wouldn't be an issue if the code worked with Apache. Also, creating
>unique identifiers for each object has been shot down. Does anyone know
>of a way to get server.xml to set each object not to cache? Thanks.

There's no server.xml way to do this, but it's a trivial filter to
write.  Just add the pragma-nocache and the cache-control headers to
every outgoing response.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message