[Templates] Caching Output of Components
Perrin Harkins
perrin@elem.com
Fri, 11 Aug 2006 14:51:42 -0400
On Fri, 2006-08-11 at 13:13 -0400, Buddy Burden wrote:
> We take our templates that have such substitutions and turn them into
> "two pass" generation templates. We use two
> different pairs of delimiters to distinguish between variables that
> can be substituted and then cached, and variables
> which must always be regenerated on every page load.
I do this now on a system built with HTML::Template. It works pretty
well. The biggest downside is that the multiple tag types get really
confusing for developers.
- Perrin