Disabling a browser's page cache
HTML pages are often cached by the user's web browser - a feature which works quite well for "normal" web pages, but seems annoying when working with a wiki.
Fortunately, a web page may avoid being cached by simply adding a meta tag to the header section of its HTML source:
<head> ... <meta http-equiv="cache-control" content="no-cache"> </head>
For JSPWiki, this additional line has to be added to any page template file (such as ViewTemplate.jsp and EditTemplate.jsp).
From then on, users no longer have to configure their browsers manually not to cache Wiki pages (if such configuration is supported anyway - and the user knows how to do it).
Andreas Rozek
(EMail: Andreas.Rozek@GMX.De
)
The http-equiv="cache-control" meta tag is for HTTP/1.0, and not HTTP/1.1 and should not be used. Every java app server I've seen sends an HTTP/1.1 Cache-Control: max-age=0 header for dynamic page requests. In fact, I think it is probably in one of the Sun JSR's.
Your problem is probably that you are using a proxy server that either does not understand HTTP/1.1 headers, or is configured to ignore them.