nemesis sent the following bits through the ether:

> I guess that every time this method is called HTML::Template reads in the 
> the template file from disk.  I think this could be faster if the template 
> was in memory.

The docs at
http://search.cpan.org/author/SAMTREGAR/HTML-Template-2.6/Template.pm
point out that you should set cache => 1 in the constructor in order
to cache templates. For preloading templates, see "Q: How can I
pre-load my templates using cache-mode and mod_perl?". Make sure to
benchmark to see if it really makes a difference.

HTH, Leon
-- 
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/

... Error 256: Programmer Deleted

Reply via email to