[pmwiki-users] overdoing pagelists?

Sivakatirswami katir at hindu.org
Wed Jun 27 18:10:13 CDT 2007


Patrick R. Michaud wrote:
> On Wed, Jun 20, 2007 at 09:52:26AM -1000, Sivakatirswami wrote:
>> Patrick R. Michaud wrote:
>>> You might try using the pagelist cache.  Create a directory called 'work.d',
>>> give it 777 permissions, and add the following to local/config.php:
>>>
>>>     $PageListCacheDir = 'work.d';
>>>
>>> If pages are updated infrequently, this could save a significant
>>> amount of work on the host.
>> How could one set this up for a farm, such that a single
>> entry in farmconfig.php will do the job.
> 
> The above entry in farmconfig.php works.  In fact, one can do:
> 
>     $PageListCacheDir = 'work.d';
>     mkdirp($PageListCacheDir);
> 
> PmWiki will then try to automatically create work.d for each
> wiki that doesn't already have one (and report back with an error
> if it's unable to do so).

It cannot... even though I have safemode off and
new group creation will auto generate new folders in wiki.d...

Possibly

$PageListCacheDir = 'wiki.d/work.d';
mkdirp($PageListCacheDir);

might work... but dunno it that's a good thing.

But, no big deal, manually creating work.d  in a few fields
is OK...

but, to report back.. I have this set now

and the former "cold molasses performance" we would get with

$EnablePageListProtect=1  # used to turn the site into molasses

is gone now!  mini break through!

Thank you



More information about the pmwiki-users mailing list