mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
bd939c8c3af9cd5801d3ae0e241b358cf47ad6d2
The ".twig.cache.inner" pool is a child of "cache.app". When the application configures a natively tag aware adapter for it (redis, valkey, pdo or mongodb), the child pool is already tag aware and decorating it with a TagAwareAdapter turns every read into a miss. Alias "twig.cache" to the pool in that case, the way Symfony aliases "cache.app.taggable" to "cache.app" instead of decorating it. The pool keeps its own namespace, so it does not start sharing the application pool's one, and the decorator stays in place for the plain adapters that need it.
…
…
…
…
…
…
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP.
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Sponsors
--------
.. raw:: html
<a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%