andres-montanez/fragment-cache-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony2 bundle for Fragment Caching

0.9.1 2014-06-02 00:10 UTC

This package is auto-updated.

Last update: 2021-02-19 00:35:20 UTC


README

#FragmentCache

The Fragment Cache Bundle aims to store in cache some Symfony Sub Requests, for example those that you embed in your twigs via

{{ render(controller('AcmeDemoBundle:Index:footer') }}

These sub requests may be expensive to execute, and may always return the same information, so let's cache it!

How? With an annotation

@FragmentCache()