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

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 22 06:53:10 CDT 2008


On Fri, Aug 22, 2008 at 09:08:55AM +0200, Christian Ridderström wrote:
> Hi,
>
> We've found it convenient to present pagelists sorted in several ways, 
> e.g by listing the pages in a table as follows:
>[...]
> The problem here is related to speed: Since we use the pagelist three  
> times and the number of pages in the group is large and increasing, we've 
> found that it makes the page slow to render.
>
> 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.

Pm



More information about the pmwiki-users mailing list