[wp-trac] [WordPress Trac] #55491: Replace `unload` event handlers from core
WordPress Trac
noreply at wordpress.org
Mon Jun 30 06:47:01 UTC 2025
#55491: Replace `unload` event handlers from core
----------------------------+--------------------------------------
Reporter: shawfactor | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript, performance
----------------------------+--------------------------------------
Comment (by westonruter):
Replying to [comment:42 westonruter]:
> As of #21938 for WordPress 6.3, all authenticated requests get sent
`Cache-Control: no-store`. This disables bfcache, just as an `unload`
event listener does.
In order to enable bfcache, I've opened #63636 to propose removing `no-
store` but keeping `private`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55491#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list