asm89 / twig-cache-extension

The missing cache extension for Twig. Caching template fragments with Twig.
MIT License
388 stars 27 forks source link

Extension can not be loaded anymore #40

Closed rvanlaak closed 7 years ago

rvanlaak commented 7 years ago

@asm89 I've recently updated to 1.3.1 and Twig 1.30, but somehow the extension can't load anymore. We make use of the PsrCacheAdapter I've contributed earlier. Letting composer revert back to the old version fixes this again:

- Removing twig/twig (v1.30.0)
- Installing twig/twig (v1.29.0)
  Loading from cache

- Removing asm89/twig-cache-extension (1.3.1)
- Installing asm89/twig-cache-extension (1.3.0)
  Loading from cache

We make use of the TwigCacheBundle to simplify configuration, might it be possible we should change our configuration? Seems like commit https://github.com/asm89/twig-cache-extension/commit/0ffaf529de8662eb0bccae00c9075871ac256839#diff-4784be2fc574914800a9f2303c5f30e0R42 has something to do with it?

rvanlaak commented 7 years ago

Closing this one for now, as it is related to the bundle instead of the extension.