[wp-trac] [WordPress Trac] #62503: Add speculative loading support

WordPress Trac noreply at wordpress.org
Thu Jan 9 23:34:09 UTC 2025


#62503: Add speculative loading support
--------------------------------------+--------------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  feature request           |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.8
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by flixos90):

 I have updated the PR https://github.com/WordPress/wordpress-
 develop/pull/7860 based on the latest additions to the Speculative Loading
 plugin:
 * It now excludes URLs with query parameters, as custom query parameters
 may be used by plugins for "action links" that modify state and therefore
 should not be speculatively loaded.
 * It also disables speculative loading entirely for logged-in users.

 Both of these decisions strengthen the implementation, yet they can be
 bypassed via the filter in case the site owner is confident that those
 considerations aren't an issue for their site.

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


More information about the wp-trac mailing list