PHPackages                             lkoell/symfony-twig-scoped-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. lkoell/symfony-twig-scoped-cache

ActiveLibrary[Caching](/categories/caching)

lkoell/symfony-twig-scoped-cache
================================

Scoped twig template cache. Useful if you run many domains/clients with separate templates but don't want to clear all template caches just to update one domain/client.

0.1.0(6y ago)07PHPPHP ^7.2

Since Mar 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phpwutz/symfony-twig-scoped-cache)[ Packagist](https://packagist.org/packages/lkoell/symfony-twig-scoped-cache)[ RSS](/packages/lkoell-symfony-twig-scoped-cache/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Scoped Twig cache
=================

[](#scoped-twig-cache)

Scoped twig template cache. Useful if you run many domains/clients with separate templates but don't want to clear all template caches just to update one domain/client.

The basic idea is that the template cache is generated on a scope basis.

The default Scope is "Hostname", but you can roll your own, too

In your bundles.php, add:

```
