[dokuwiki] Re: preventing instruction level caching

  • From: James Lin <guanfenglin@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 29 Apr 2009 10:07:54 +1200

Hi again Chris,

from the dokuwiki:
Prevent Caching

To prevent a page from ever being cached, use the NOCACHE tag anywhere in
the document. This is useful if the page contains dynamic content,
e.g. PHPcode that pulls in outside information, where the caching
would prevent the
most recent information from being displayed.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have added ~~NOCACHE~~ tag into the page, but it still caches the pages.

The reason I am saying that because I have put some debug output in the
function storeCache($instructions) of cache.php, even the page has
~~NOCACHE~~ tag, the storeCache function is still being called to cache the
page.

Please correct me if I am wrong.

Regards

James

Other related posts: