[pmwiki-users] HTML cache

Christophe David pmwiki at christophedavid.org
Fri Jun 8 04:19:43 CDT 2007


When generating long pagelists with custom templates, PmWiki sometimes
appears to exceed system resources and ends up returning a blank
screen.

$PageCacheDir         = 'cache.d';
$PageListCacheDir    = 'cache.d';
$EnableHTMLCache  = 1;
$EnableIMSCaching  = 1;

help a lot, as the resulting page is cached, and the next requests
only need to read the cached version.

However, with the settings above, the caching mechanism very often
considers that the cache is outdated and regenerates the full pagelist
(causing delays and/or problems on server ).

Is it possible to tune the behaviour of the HTML caching, determining
how changes are detected ? Or is it possible to force the use of the
cached version for specific pages if the administrator decides so ?

Thank you in anticipation.

Christophe



More information about the pmwiki-users mailing list