[Templates] Caching Output of Components
Robert James Kaes
rjk@wormbytes.ca
Sun, 6 Aug 2006 17:46:41 -0400
Afternoon all,
Is there a way to cache the output of a component and use it in
preference to the compiled Perl version of the component? I'm aware of
Perrin's Template::Plugin::Cache, but I'm hoping for something that
doesn't require manual intervention in the component.
I'd like to say "the output of all components are cached. If a child
component has changed, invalidate the child cache and its parent's
cache." It would also be nice to selectively say "this component's
output must never be cached."
Is there anything like this available? If not, would sub-classing
Template::Provider be the way to proceed to add this feature?
Thank you for any insight you can provide.
Have a great day.
-- Robert
--
Robert James Kaes
WormBytes Consulting and Contracting
http://www.wormbytes.ca/