[pmwiki-users] HTML cache

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 9 17:13:16 CDT 2007


On Sat, Jun 09, 2007 at 06:41:54PM +0200, Christophe David wrote:
> >This does require a fair bit of additional code and complexity to
> >implement, and it also means reworking some of PmWiki's existing
> >"something cached is out of date" structures.  And overall it hasn't
> >been a high priority, but I might be able to squeeze some time in
> >to improve it.
> 
> The root cause is that complex pagelists templates used for large
> volumes need a lot of resources.  If this could be optimized, the need
> for caching would be reduced...

I've already done a lot of optimization here... but I've always
said that pagelist templates are likely to be slow because of the
amount of markup that needs to be processed.  In fact, the potential
slowness was one reason why I was very reluctant to adopt them in the
first place... frankly, I'm surprised they are usable at all.  :-)

For really fast processing and output of pagelists, one should 
really create a custom formatting function for pagelist and not 
rely solely on the markup rendering engine.  Prior to pagelist
templates, this is how we did all of our output stuff.

Pm



More information about the pmwiki-users mailing list