Tim Sweetman wrote: > nemesis wrote: > >>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. > > > Um, RTFM on HTML::Template, which describes its "cache" option. There's > also an XS- or Inline-retrofitted HTML::Template on the CPAN, if memory > serves, which does something outrageous like turning templates into bits > of C and compiling them - which is also outrageously fast.
/me peers more closely at the docs If used in a constructor wouldn't cache => 1 just cache for the life of the httpd thread, and not for the whole server? Sorry if this is obvious, I have only just started doing mod_perl. Will.