http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7387 Elliott Davis <elliott@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #15503|0 |1 is obsolete| | --- Comment #13 from Elliott Davis <elliott@bywatersolutions.com> --- Created attachment 15892 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15892&action=edit Bug 7387 : Adding a caching plugin for Template::Toolkit To use this you need to do something like -[% INCLUDE 'doc-head-open.inc' %] +[% USE cache = Cache %] +[% cache.inc( + 'template' => 'doc-head-open.inc', + 'keys' => {'dochead' => 'dochead'}, + 'ttl' => 360 + ) +%] Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Comment: Works. Tested modifying as described opac-main.tt Follow up to fix tabulations. Signed-off-by: Elliott Davis <elliott@bywatersolions.com> -- You are receiving this mail because: You are watching all bug changes.