Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • ..
  • Repository
  • PageRepository.php
Find file BlameHistoryPermalink
  • Christoph Lehmann's avatar
    [TASK] Use runtime cache in `PageRepository::getPageOverlaysForLanguage()` · 2b898bc9
    Christoph Lehmann authored Jan 17, 2023 and Stefan Bürk's avatar Stefan Bürk committed Jan 22, 2023
    The function is called several times during menu/page generation with
    the same arguments.
    
    Its query results are now cached in the runtime cache to spend less
    time doing SQL queries.
    
    This streamlines the behaviour in default lanuage where
    `PageRepository::getPage()` already uses the runtime cache.
    
    Resolves: #97525
    Releases: main
    Change-Id: I2515e66f8bfd102cc5c9ed624c75a4b91b3084b5
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77235
    
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    2b898bc9