[dokuwiki] Turning off caching from plugin using PARSER_CACHE_USE
- From: Myron Turner <turnermm02@xxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 20 Apr 2007 07:42:43 -0500
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
- Follow-Ups:
- References:
- [dokuwiki] How to have externally generated pages versioned?
- From: Marc Haber
- [dokuwiki] Re: How to have externally generated pages versioned?
- From: Gina Häußge
Other related posts:
- » [dokuwiki] Turning off caching from plugin using PARSER_CACHE_USE
- » [dokuwiki] Re: Turning off caching from plugin using PARSER_CACHE_USE
- » [dokuwiki] Re: Turning off caching from plugin using PARSER_CACHE_USE
- [dokuwiki] How to have externally generated pages versioned?
- From: Marc Haber
- [dokuwiki] Re: How to have externally generated pages versioned?
- From: Gina Häußge