[wp-trac] [WordPress Trac] #42438: Add support for preload links (similar to resource hints)
WordPress Trac
noreply at wordpress.org
Fri Aug 5 18:24:56 UTC 2022
#42438: Add support for preload links (similar to resource hints)
-------------------------------------------------+-------------------------
Reporter: nico23 | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Script Loader | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch commit | Focuses:
needs-dev-note | performance
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"53846" 53846]:
{{{
#!CommitTicketReference repository="" revision="53846"
Script loader: enable resource preloading with rel='preload'.
Add a `wp_preload_resources` filter that developers can use to add
resource preloading.
Preloading helps the browser discover and prioritize important resources
earlier during the page load. This ensures that they are available earlier
and are less likely to block the page's render.
Props nico23, swissspidy, igrigorik, westonruter, azaozz, furi3r,
aristath, spacedmonkey, peterwilsoncc, mihai2u, gziolo.
Fixes #42438.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42438#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list