[wp-trac] [WordPress Trac] #64696: Real time collboration effectively disables persistent post caches while anyone edits a post
WordPress Trac
noreply at wordpress.org
Tue Mar 3 00:47:25 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 peterwilsoncc):
I've created [https://github.com/WordPress/wordpress-develop/pull/11119
PR#11119] for moving the awareness state to transients as a much
simplified approach:
* `WP_Query` cache accuracy is retained
* transient cache key uses the post ID rather than the room ID, the
existing post meta is single use only (ie, only one item of that name is
stored per post) so I think the post ID is fine
* I've set the transient expiry to one hour as a pretty arbitrary number.
This reduces the `WP_Query` cache invalidation back to the following:
* actual edits are made to a document
* heartbeat triggers
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64696#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list