On Mon, May 14, 2007 at 10:23:05PM +0200, Christophe David wrote: > PmWiki has several (somewhat experimental) caching features, > which may be able to help out some. > ... > A few lines about this would certainly be useful on pmwiki.org ;-)
Yes, it's just a matter of finding time. > I jumped on my config file to add this and check if it would help the > performance of my huge pagelists, but it did not. > Are pages containing pagelists supposed to be cached ? I'll have to check the code for this. A brief scan through the code doesn't indicate anywhere that caching is being disabled for pagelist. However, this is incorrect, as we cannot cache pagelist output if any of the pages in the pagelist have read protection (and $EnablePageListProtect is set). So, I'll need to update that. The bottom line answer will be that pagelist output will be cacheable unless: - $EnablePageListProtect is set and one or more of the pages has read protection - the pagelist is using the request=1 option - the resulting pagelist template invokes any of the "non-cacheable" items I listed in my previous message - anything else I happen to think of :-) Note that "HTML caching" is different from "pagelist caching". HTML caching caches the output of entire pages, while pagelist caching simply speeds up the output of the (:pagelist:) command. Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
