[pmwiki-users] Cacheing pagelist results within the same page for duplicate searches?

Christian Ridderström christian.ridderstrom at gmail.com
Fri Aug 22 10:19:45 CDT 2008


On Fri, 22 Aug 2008, Patrick R. Michaud wrote:

>> However, as the actual search criteria are identical for the three 
>> pagelists, and the pagelists occur on the same page, I started to 
>> wonder if it would be possible for pagelist to automatically cache the 
>> matching list of pages?
>
> Have you tried the built-in pagelist cache yet?  In config.php:
>
>    $PageListCacheDir = 'work.d';
>
> ...and then create work.d with appropriate permissions.

Thank you very much, that seems to do what I want.

I enabled it and verified that it worked using

 	http://www.pmwiki.org/wiki/Cookbook/PageGenerationTime

to time it, it does save about a second on some of the pages.

Some pages are still a bit slow, but I can look elsewhere for the culprit.

regards,
/Christian

-- 
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list