[dokuwiki] Turning off caching from plugin using PARSER_CACHE_USE

I'm writing a plugin that needs to disable caching on a page by page basis. According to the DokuWiki page on caching, it is possible to turn off caching from a plugin:

       http://wiki.splitbrain.org/wiki:caching#purging_the_cache

It says that "Plugins can now influence cache use via the PARSER_CACHE_USE event," and that the way to do this is to "add an action plugin component to handle the PARSER_CACHE_USE event". But I'm not clear about what the action plugin is supposed to do once it's been called.

I tried calling PHP's touch() from within the plugin but this causes a message to come up asking the user to choose between the version currently being edited and the apparently newer version.
Thanks,

Myron Turner


_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: