fabpot/Twig-extensions — pull request #46 by ikame (2012-03-12 17:07:21+00:00)
Title: Added a template fragment caching extension

Hi, this extension adds a new tag

{% cache 'keyname' expiration_time_in_seconds %}

Which can be used to cache rendered template fragments. I have written the documentation of this extension in the README file since it needs some setup to actually cache the fragment using the cache-engine of choice of the end user.