From bd3d572afbbafbe9e30acfd7520a3c991e6a1b9b Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Mon, 2 Dec 2019 13:32:10 +0100 Subject: [PATCH] :bug: Add cache entry to update the dimensionsWidth variable on change --- .../Private/Fusion/ContentElements/Container.fusion | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Resources/Private/Fusion/ContentElements/Container.fusion b/Resources/Private/Fusion/ContentElements/Container.fusion index dc52533..6fadeb2 100644 --- a/Resources/Private/Fusion/ContentElements/Container.fusion +++ b/Resources/Private/Fusion/ContentElements/Container.fusion @@ -41,4 +41,13 @@ prototype(Jonnitto.ImagesInARow:Container) < prototype(Neos.Neos:ContentCollecti } } @exceptionHandler = 'Neos\\Neos\\Fusion\\ExceptionHandlers\\NodeWrappingHandler' + + @cache { + mode = 'cached' + entryIdentifier.node = ${node} + entryTags { + 1 = ${Neos.Caching.nodeTag(node)} + 2 = ${Neos.Caching.descendantOfTag(node)} + } + } }