[wp-trac] [WordPress Trac] #64696: Real time collboration effectively disables persistent post caches while anyone edits a post
WordPress Trac
noreply at wordpress.org
Thu Apr 2 22:06:37 UTC 2026
#64696: Real time collboration effectively disables persistent post caches while
anyone edits a post
--------------------------------------+--------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Comment (by spacedmonkey):
Sorry for the ping, but I would like eyes on my
[https://github.com/WordPress/wordpress-develop/pull/11427 PR].
@davidbaumwald @peterwilsoncc @westonruter @zieladam
TDLR of the PR, it keep the last changed group changing on clean post
cache / update / add delete post meta, to maintain backwards compatiblity
with third parties code that is use this cache key for invalidation /
salts. But with the core base use two new last changed caches, one for
post-queries and one for post meta.
So to be clear.
- Post - last changed is updated when both posts and meta are updated.
- Post-queries - last changed is updated when posts are updated.
- Post-meta - last changed is updated when meta is updated.
If this change works for posts, we should roll this out to other query
classes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64696#comment:144>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list