[dokuwiki] Re: Remove a page from the cache

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 24 Nov 2009 08:23:03 -0600

Christopher Smith wrote:

 There are a couple of short-cuts that will have the same effect.

1. Update the mtime of metadata file. The cached HTML is dependent on the metadata file. If the cache is older than the metadata it won't be valid. You can update metadata by either touching the file or setting some metadata value of your own. This is the best method to use if its only the html that needs to be refreshed - in plugin terms you're calling render() but not handle().

- Chris

Does this mean that calling this function:

  p_set_metadata($id, $data, $render, $persistent);

is effectively the same as touching the meta file? And where do these techniques stand with respect to the event processing of PARSER_CACHE_USE:





DokuWiki mailing list - more info at

Other related posts: