Skip to content

Commit

Permalink
Merge pull request #8 from techdivision/bugfix/cache
Browse files Browse the repository at this point in the history
Bugfix // Fixed caching problem where newly created jobs does not appear in JobList
  • Loading branch information
mbiberger authored Sep 14, 2021
2 parents 8fa548a + 66a2f99 commit 9059bc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Resources/Private/Fusion/ContentNodeTypes/JobList.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ prototype(TechDivision.Jobs:JobList) < prototype(Neos.Neos:ContentComponent) {
allAvailableJobPostings={props.allAvailableJobPostings}
/>
`

@cache {
mode = 'cached'
entryIdentifier {
node = ${node}
}
entryTags {
1 = ${Neos.Caching.nodeTag(node)}
2 = ${Neos.Caching.nodeTypeTag('TechDivision.Jobs:JobPosting')}
2 = ${Neos.Caching.nodeTypeTag('TechDivision.Jobs:JobOrganization')}
2 = ${Neos.Caching.nodeTypeTag('TechDivision.Jobs:JobLocation')}
1 = ${Neos.Caching.nodeTag(documentNode)}
2 = ${Neos.Caching.descendantOfTag(documentNode)}
}
}

}

0 comments on commit 9059bc3

Please sign in to comment.