Skip to content

Commit d615d33

Browse files
author
Marvin Kuhn
authored
added dynamic cache mode
1 parent 35be7fd commit d615d33

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Resources/Private/Fusion/Component/List.fusion

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,18 @@ prototype(Breadlesscode.Listable:List) < prototype(Neos.Fusion:Component) {
4040
}
4141
pagination >
4242
}
43+
44+
45+
@cache {
46+
mode = 'dynamic'
47+
entryIdentifier {
48+
node = ${node}
49+
}
50+
entryDiscriminator = ${ request.arguments.currentPage }
51+
context {
52+
1 = 'node'
53+
2 = 'documentNode'
54+
3 = 'site'
55+
}
56+
}
4357
}

0 commit comments

Comments
 (0)