Task #97525
closedUse runtime cache in PageRepository()->getPageOverlay()
100%
Description
The function is a good candidate for result caching like its done in PageRepository->getPage() for the default language in order to spend less time doing sql queries.
Two typical use cases:
1. Cache the current page
In multi-language environments a typical has
- a language navigation
- alternate links (<link rel="alternate" hreflang="xy")
- a canonical link (<link rel="canonical" href="...">).
So the function is called 1 time for canonical 2 times for every language.
2. Detail pages
Have installed EXT:news and visit the list page (containing multiple news detail links). Every detail link calls PageRepository()->getPageOverlay() one time.
Updated by Andreas Kienast over 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Oliver Hader about 2 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Gerrit Code Review almost 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Gerrit Code Review almost 2 years ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Gerrit Code Review almost 2 years ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
Updated by Christoph Lehmann almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2b898bc989273e3fd9ebf6e6074521a078cf5419.
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed