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

WordPress Trac noreply at wordpress.org
Tue Aug 2 12:10:57 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 gziolo):

 > Great question! can we apply this in wp-admin and Gutenberg for example
 to help prioritize some loading and get a demonstrable performance gain?
 @mihai2u or @gziolo - any suggestions? Adding some actual core usage of
 the new capability would be great.

 I don't know about any obvious usage. However, I've seen this exciting
 exploration from @tyxla in Gutenberg
 https://github.com/WordPress/gutenberg/pull/42525, where he plays with
 Suspense from React to improve the editor loading experience. It might be
 an excellent opportunity to look at using asset preloading to take the
 whole concept to another level.

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


More information about the wp-trac mailing list