Purge the cache for individual template files instead of removing the whole cache directory.
To install this bundle, simply run:
composer require setono/twig-cache-purger-bundle
This will install the bundle and enable it if you're using Symfony Flex. If you're not using Flex, add the bundle
manually to bundles.php
instead.
TODO