From: cfaust-dougot <[EMAIL PROTECTED]> >I'm getting into the habit of making a single TMPL file (or new single HT >object) in which I will have anywhere from 3 to 5 different pages in it, each >within its own template if. > >From a performance standpoint, how bad is this?
It sounds to me like you're trading HT's disk (and/or memory caching) for your own memory caching (if you're using mod_perl and keep the HT object instantiated, and let the "if" be processed with each output so it outputs the correct page for the request). What benefit do you get from having different pages in one template and using an "if" to output the correct one? Why not keep them in seperate templates and load them as needed (using HT's caching)? Mark ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users