> 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. >
The 'Pragma' header you use is from HTTP/1.0. Most caches, including browser cache, by now use HTTP/1.1, where cache control is achieved differently. You should use 'Cache-Control' headers (although it never hurts to also use 'Pragma' headers, in case you encounter an older HTTP/1.0 cache). For more information you can look at the HTTP/1.1 RFC at: ftp://ftp.isi.edu/in-notes/rfc2616.txt and search for the text 'Cache-Control'. Regards, Ronald. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]