Skip to content

Commit

Permalink
🐛 Add cache entry to update the dimensionsWidth variable on change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto authored Dec 2, 2019
1 parent 191c109 commit bd3d572
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Resources/Private/Fusion/ContentElements/Container.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
}
}
}

0 comments on commit bd3d572

Please sign in to comment.