I am searching for a way to define a region or block within a template that Twig will not cache.
For an example of where this would be used:
On a website that shows a list of results after a search, there is a region of filters. Each filter is saved as a session and when the document is not cached the filter values match the session.
Enabling Twig caching prevents this feature from working, but if it was possible to specify a region to not cache, I could exclude the filter area the site would function properly.
Is this possible with Twig?