On Tue, Oct 04, 2005 at 01:37:38PM -0400, Perrin Harkins wrote:
> On Tue, 2005-10-04 at 11:54 -0400, Brett Sanger wrote:
> Okay, back up a bit.  First, you need to understand something about
> mod_perl: nothing is shared between child processes.  You will have
> separate Template objects and separate caches in each child.

*smacks forehead* That's right, I knew there was something wrong with my
mental model.

Okay, that clears that part up.

> you just create a new Template object every time you will get no caching
> and TT will be about 10 times slower.

I'm caching to disk, but I can save instantiation time.  Thanks for
pointing out my fundamental error.

-- 
SwiftOne  /  Brett Sanger
[EMAIL PROTECTED]   

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

Reply via email to