[wp-trac] [WordPress Trac] #55491: Replace `unload` event handlers from core

WordPress Trac noreply at wordpress.org
Thu Sep 14 17:28:48 UTC 2023


#55491: Replace `unload` event handlers from core
----------------------------+--------------------------------------
 Reporter:  shawfactor      |       Owner:  westonruter
     Type:  enhancement     |      Status:  accepted
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, performance
----------------------------+--------------------------------------

Comment (by westonruter):

 Replying to [comment:23 shawfactor]:
 > WordPress is more than anything a platform for plugins. Heartbeat is a
 standard way of communicating used by 100s on the front end and back end.
 It is even used by plugins for non logged in users.
 >
 > There is a huge performance benefit here even without a solution for the
 no-store header

 It's news to me that plugins are using this even for non-authenticated
 users. Do you have some examples?

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


More information about the wp-trac mailing list