[wp-trac] [WordPress Trac] #42438: Add support for preload links (similar to resource hints)

WordPress Trac noreply at wordpress.org
Tue Aug 2 14:57:43 UTC 2022


#42438: Add support for preload links (similar to resource hints)
-------------------------------------------------+-------------------------
 Reporter:  nico23                               |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  Script Loader                        |     Version:  4.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests has-patch commit      |     Focuses:
  needs-dev-note                                 |  performance
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 >The most common scenario for preloading is for render-blocking resources
 which might appear after the first HTML network packet (as they would be
 discovered a full round-trip later by the download scheduler), as the
 earliest moments are the ones when there is more network bandwidth
 available, due to less competition.

 > Preload directives should not be used for non-render-blocking elements,
 as then they would compete with the render-blocking ones slowing down the
 render.

 Makes sense, thanks for clarifying this!

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


More information about the wp-trac mailing list