Skip to content

Commit

Permalink
TASK: Add basic cache configuration for pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
johannessteu committed Mar 14, 2016
1 parent 8ac4746 commit a491186
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Resources/Private/TypoScript/NodeTypes/NewsList.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@ prototype(JohannesSteu.Neos.News:NewsShort) < prototype(TYPO3.Neos:Content) {

title = ${q(node).property('title')}
teaser = ${q(node).property('teaser')}
}
}

# Adjust cahces for pagination
[email protected] = ${request.pluginArguments.listable-paginate.currentPage}
prototype(TYPO3.Neos:Page)[email protected] = ${request.pluginArguments.listable-paginate.currentPage}
prototype(TYPO3.Neos:ContentCollection)[email protected] = ${request.pluginArguments.listable-paginate.currentPage}
prototype(Flowpack.Listable:ListNode)[email protected] = ${request.pluginArguments.listable-paginate.currentPage}

0 comments on commit a491186

Please sign in to comment.