Issue Bug Under Review

#111453Flush pages when the target of a record link changes

Oliver Bartsch 11/14/26, 17:41 updated 11/19/26, 11:46

Description

Problem

A page rendering a record link (t3://record?identifier=…&uid=…) is not
flushed when the linked record is hidden, moved, deleted or translated. The
link keeps pointing to a record that can no longer be linked, or stays
unrendered after the record became visible, until the page cache expires.

Cause

DatabaseRecordLinkBuilder adds no cache tag for the linked record. Page
links do, with frontend.cache.autoTagging enabled: PageLinkBuilder::addPageCacheTag()
adds pages_<uid> with a lifetime from the start and end time of the target.

Suggested fix

Add <table>_<uid> in DatabaseRecordLinkBuilder under the same feature
switch as page links (frontend.cache.autoTagging), after the table was
validated, with the lifetime of the record (start and end time). Add the tag
of the translation overlay as well, as CacheFlusher flushes
@_<uid of the edited record>@ only.</uid>

Reviews 1

History 04