Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet

97026[TASK] Reuse parent rootlines for page links

Wouter Wolters CR +1 V 0 Normal +211 −1 updated 10/23/26, 09:41

Commit message

Use the resolved link target and its parent's rootline when finding
the target site. Sibling links can share the parent lookup instead
of reading a complete rootline cache entry for each target.

Keep the full lookup for mounts, workspace previews, modified page
records and invalid parent rootlines. Retain nested-site precedence.

In the shared-parent benchmark, 500 links reduce persistent rootline
reads from 501 to one, on top of the scheduling-query WIP.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/26/97026/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/26/97026/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR +1 Needs a vote
    • Wolfgang Klinger +1
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 2

  1. 97026 [TASK] Reuse parent rootlines for page links This change

  2. main 97023[TASK] Batch menu cache lifetime scheduling queries This change is based on it Work in progress Merge conflict Wouter Wolters CR 0 V 0 Normal +175 −9

Files 4

Review log 45

  1. Wouter Wolters uploaded patch set 1 10/22/26, 18:01

  2. Wouter Wolters uploaded patch set 2 10/22/26, 18:40

  3. Wouter Wolters wrote 10/22/26, 18:40

    Unset private
  4. core-ci voted on patch set 2 V +1 10/22/26, 18:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112168

  5. Wolfgang Klinger commented on patch set 2 CR +1 10/23/26, 09:41

    PageLinkBuilder.php:166 Unresolved

    Do we need that condition? Custom doctypes could benefit too(?)