#107564Cache is not emptied for scheduled records other than tt_content
Description
If I use e.g. a news record which should show up at 16:00, and the page(s) where the news is shown is rendered with a 7 day cache lifetime, the cache is not refreshed at 16:00 today.
Consider this news might be shown on multiple pages, or it is an address record scheduled for tomorrow. The news post will not show up naturally but only if an editor or somebody else actively invalidates the cache.
The PSR-14 event ModifyCacheLifetimeForPageEvent does not cut it, because when doing a SQL query, you never know which records you DON’T get from the DB query.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Cache is not emptied for scheduled records other than tt_content Resolves: #107564 Releases: main