[pmwiki-users] Experiments with pagelist caching

Kathryn Andersen kat_lists at katspace.homelinux.org
Wed Feb 7 19:46:02 CST 2007


On Wed, Feb 07, 2007 at 03:57:56PM -0600, Patrick R. Michaud wrote:
> I've done a bit of experimenting with caching pagelist output --
> you can see the results at
> 
>   http://www.pmwiki.org/wiki/Cookbook/Cookbook-ByCategory
> 
> This page contains about 22 separate pagelist directives, and
> when caching is disabled it takes about 15-20 seconds to generate.
> To see the time required when caching is disabled, try
> 
>   http://www.pmwiki.org/wiki/Cookbook/Cookbook-ByCategory?cache=0

That is certainly faster!
 
> The pagelist caches are automatically invalidated whenever a page
> is updated on the site, and are regenerated on the next pagelist
> request.  Subsequent requests use the cached list.
> 
> The caching is even smart enough to properly handle read-protected 
> pages when $EnablePageListProtect is set, so that the cached
> results do not depend on the authorizations in effect when the
> pagelist was generated.

Sounds good.
 
> I haven't yet decided if I will adopt this into the core
> (the performance may still not be as good as I'd like), but
> comments, questions, and suggestions are welcome as always.

Well, surely some improvement on performance is better than none?
Or are you simply saying you don't want it in the core because you have
something better in mind already?

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list