[wp-trac] [WordPress Trac] #58632: Add support for 'async' and 'defer' loading to script that use inline scripts.

WordPress Trac noreply at wordpress.org
Tue Nov 28 16:28:59 UTC 2023


#58632: Add support for 'async' and 'defer' loading to script that use inline
scripts.
-------------------------------+--------------------------
 Reporter:  joemcgill          |       Owner:  (none)
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Script Loader      |     Version:
 Severity:  normal             |  Resolution:  maybelater
 Keywords:  needs-patch close  |     Focuses:  performance
-------------------------------+--------------------------

Comment (by joemcgill):

 In the future, to reconsider this change, I think we should conduct
 another analysis in the to see how often async/defer scripts are being
 downgraded to blocking scripts due to this issue, using the `data-wp-
 strategy` attribute we add to mark intended strategy for debugging
 purposes.

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


More information about the wp-trac mailing list