[dokuwiki] A question about caching in DokuWiki

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 24 Apr 2011 15:56:03 +0100

I find DokuWiki's caching a nuisance 99% of the time, I use DokuWiki as
a personal Wiki on my own desktop computer so there's only ever one user
nearly all of the time and I don't really believe the caching does
anything for me.

What it *does* do is get in the way a lot of the time when I'm
developing things, especially when developing plugins as I keep having
to edit pages (add a space, delete a space, add a page) to force it to
run the plugin handle() function.

~~NOCACHE~~ doesn't seem to influence whether the handle() function is
called, if the page content isn't changed then handle() isn't called
regardless of whether there's a ~~NOCACHE~~ or not.

I also find it difficult when pages have 'dynamic' content, e.g. in my
case parameters are passed so that the same page is rendered with
different values in it.  You have to be very careful where a plugin uses
the passed paramters.

Is there any way to stop DokuWiki caching *at all* so that pages are
always parsed and rendered every time you display them (the browser
cache will still be in effect so for a single user unchanged pages will
in fact be cached)?

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: