[wp-trac] [WordPress Trac] #64696: Real time collboration effectively disables persistent post caches while anyone edits a post

WordPress Trac noreply at wordpress.org
Mon Mar 16 23:54:58 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 czarate):

 Replying to [comment:72 dmsnell]:

 Hey @dmsnell, carving out the first two questions:

 > If these sync and awareness/presence updates occurred less frequently,
 on par with the heartbeat, would this be the problem it is?

 I haven't heard any proposed alternate defaults for the polling intervals.
 These intervals of course affect the perceived responsiveness of the
 feature, but the defaults can be easily changed. They will also be
 filterable soon.

 > Why are there so many updates occurring when the post isn’t changing?

 We only ''send'' updates when the post entity has been changed. However,
 we still frequently poll for updates from the server because we don't know
 when other remote peers have updated the post in ''their'' editors.

 If all editors are sitting idle, these are very light requests: no updates
 sent, none received, and no real work to do.

 We also poll for awareness state, which helps us display the presence of
 other collaborators within the block editor. Even an idle block editor
 might be observed; the observing user can benefit from an understanding of
 "who is doing what" as they plan their next edit.

 We use browser visibility APIs to suspend polling when the block editor is
 truly unused and unobserved.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64696#comment:75>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list