[htmltmpl] HTML Template and Mod_Perl
Brought to you by:
samtregar
From: Chris F. <chr...@at...> - 2003-01-01 22:26:27
|
Folks, I've decided to take the plunge into mod_perl and having everything working as it was before. I'd like to take the next step and make sure I'm using H:T in the most optimized fashion as I use it pretty much exclusive to serve up my site which gets moderate traffic. As far as to how I'm using H:T - I'm really just making use of the basics, 90% of use is just replacing TMPL_VARS in pages and the other 10% is using IF's and LOOP's (I don't do any filtering or anything like that). I have a common header and footer that is used in all pages and within all my subs I have a separate content template that is used - finally at the end up the sub its all displayed to the user.. Pretty Basic.. Currently I set things up under mod_perl by putting my "use HTML::Template" into a startup.pl and having: PerlRequire /home/httpd/perl/startup.pl In my httpd.conf. Is there more that I can do to increase performance? Does it make a difference if I make a H:T handler or not? Any info would be helpful. Thanks -Chris |