The error handler sets Pragma: no-cache whenever it
handles an error, regardless of whether the error
actually results in an error message being displayed to
the user or not.
Because there are several minor bugs in the PHPwiki
syntax (which the error handler appears to always
ignore) that cause errors on every page this makes
EVERY page in the wiki uncachable!
The attached patch modifies the error handler to only
set no-cache headers when an error is actually output
to the browser.
This patch can be found as r54 in the WLUG svn
Log in to post a comment.