[pmwiki-users] Pagelist Cache not working

DaveG pmwiki at solidgone.com
Wed Jan 27 07:53:58 CST 2010



On 1/27/2010 7:39 AM, Graham Archer wrote:
>
> Hi,
>
> I am trying to setup a pagelist cache as per below but it doesn't appear
> to work.
>
>     $PageListCacheDir
>     The name of a writable directory where PmWiki can cache results of
>     (:pagelist:) directives to speed up subsequent displays of the same
>     list. Default is empty, which disables the pagelist cache.
>
>     # Enable pagelist caching in work.d/
>     $PageListCacheDir = 'work.d/';
>
>
>
> I have:
>
> $PageListCacheDir = 'work.d/';
If you're using relative paths, then the path will be from the config 
file. Try something like this:
$WorkDir = dirname(__FILE__).'/../work.d';
$PageListCacheDir = $WorkDir .'/';


  ~ ~ David



More information about the pmwiki-users mailing list