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

WordPress Trac noreply at wordpress.org
Thu Jun 16 13:58:31 UTC 2022

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

Comment (by furi3r):

 Thanks for your feedback @swissspidy.

 Regarding filter vs imperative way, I agree with you that filter may not
 be the most intuitive way, but at this stage, and following the current
 ''wp_resource_hints'', I would go down this path for now, and maybe in a
 separate ticket, create imperative functionality, I wouldn't like to see
 this ticket stale for another 5 years.

 Regarding core functionality using this preload feature, I'm not sure
 about that, but I'm sure this will be helpful for
 theme/plugins/performance developers, IMHO I don't see why offering this
 extra possibility could hurt core, it's a nice benefit to have for whoever
 wants to use it.

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

More information about the wp-trac mailing list