Closed
Description
Symfony version(s) affected: 4.1.1
Description
Symfony's twig-bundle is ignoring the twig.cache
configuration, and still attempting to warm the cache.
How to reproduce
Change twig.cache
to false
and run cache:clear
with symfony/twig-bundle
installed.
Possible Solution
Additional context
The reason this is problematic is in my case, we are loading templates from a DB. We do not want these templates to be fetched ahead of time, as there are a ton of them (potentially thousands).
This is related to symfony/symfony-docs#10101 in which the documentation incorrectly specifies how to disable caching.