> Essentially, I may have a need to process a template repeatedly. So, I > get the understanding that I can basically compile/cache a template so I > can use that for best performance rather than re-reading the template in > every call to (Template) process. > > But I'm having trouble figuring out how that should be achieved in the > best way. Looks to me I could use a Context object somehow but...well, I > haven't made it yet. Or perhaps I'm just missing something obvious. >
TT does that for you by default, and then gives you some options you can twiddle with. See: http://template-toolkit.org/docs/manual/Config.html#section_Caching_and_Compiling_Options clint _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
