Hi Perrin -

> > Is there any way to take advantage of the cache in a non-persistent (e.g.
> > non-webserver) environment?  Maybe along the lines of serializing the
> > template object and reading it back later?
>
> No, but the COMPILE_DIR option means that at least the "compile to perl"
> step will be skipped.  If there was a way to store compiled perl code
> and load it faster, it would be used in all kinds of modules.

My misunderstanding - when you said creating the new object causes TT to
compile the perl code for each template used, I was thinking you meant the
template to perl step, not the perl to compiled perl step...

Thanks,
Larry



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to