[wp-trac] [WordPress Trac] #63636: Enable instant page navigations from browser history via bfcache when sending "nocache" headers

WordPress Trac noreply at wordpress.org
Mon Jun 30 06:57:33 UTC 2025


#63636: Enable instant page navigations from browser history via bfcache when
sending "nocache" headers
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
                                                 |  westonruter
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.9
Component:  Administration                       |     Version:  6.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-unit-   |     Focuses:
  tests                                          |  performance, privacy
-------------------------------------------------+-------------------------

Comment (by westonruter):

 I just [https://core.trac.wordpress.org/ticket/49258#comment:3 learned] of
 the [https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers
 /Clear-Site-Data Clear-Site-Data] header as well.

 Upon logging out, the following header can be sent:

 {{{
 Clear-Site-Data: "cache"
 }}}

 According to MDN, it says it "might" clear out the bfcache "depending on
 the browser". In testing with Chrome, however, this doesn't seem to work.
 So the JavaScript-based client-side bfcache invalidation still seems
 needed.

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


More information about the wp-trac mailing list