[dokuwiki] Re: Content-dependent Purge/Cache

  • From: Tognini Samuele <samuele@xxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 11 Jan 2007 11:48:42 +0100

Tognini Samuele wrote:
Todd Augsburger wrote:
3) The action plugin also re-reads the original file, and if it does not contain wiki code for a comment, it uses p_set_metadata() to clear the flag, essentially refreshing the metadata.
Hi,
is there a way in last DW stable release to unset a specified metadata value or the only solution is give an empty array to p_set _metadata and unset all metadata values?
Thanks,
Samuele

I 've notice now that p_set_metada($ID,array()) doesn't works as i thought.
I need me too to clear a metadata value in order to prevent cache purge when a syntax plugin is not used anymore.
How have you cleared the flag?
Could deleting the meta file (with unlink) lead to errors or lost of informations if it's done inside the PARSE_CACHE event?

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

Other related posts: