[ZPT] ZPT Speed Tutorial Wanted

Chris Withers chrisw@nipltd.com
Mon, 16 Sep 2002 12:06:30 +0100


Andy Meier wrote:
> My final bottleneck seems to be using Page Templates.  Even a simple Page 
> Template costs me 400ms to render.  To compare, rendering a fairly simple 
> DTML document takes 9ms.

This sucks :-( The difference, I'm hoping, is that DTML has been optimised over 
the years and has a C implementation.

> Is there anything I can do to increase the speed of Page Templates (can I 
> "pre-compile" the templates)?  Should I convert my page template into a 
> python script or dtml document header and footer?

Hmmm, we really need to find a way to optimise the ZPT process itself, anyone 
got any ideas?

cheers,

Chris