--- darren chamberlain <[EMAIL PROTECTED]>
wrote:
> It isn't out there in the public yet, although I'd
> be willing to
> put it somewhere accessible to the general TT-using
> world if
> there's interest.  It's pretty spare right now,
> though.

Well this was a big help for me...I didn't realize the
potential for caching templates...I really had
overlooked the COMPILE_DIR/COMPILE_EXT directives.

> OK, here's an explanation.  Keep in mind that this
> is designed to
> be run offline, not from the web server.

Ahhh, that's the part I didn't get....thanks for
clarifying. So there's no need to worry about $params
when pre-compiling after all...
 

BTW, I did get things running smoothly and eliminated
the large CPU processes. Here's what I did:

1) Added caching (COMPILE_DIR)
2) Added the global $template
   use vars qw($template);
    $template ||= Template->new({
3) Reread the mod_perl guide performance tuning
section for apache and modified MaxSpareServers,
MinSpareServers and added Apache::SizeLimit.

I will look at pre-compiling templates though...

Thanks,

doug


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com


Reply via email to