[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes
WordPress Trac
noreply at wordpress.org
Thu Jun 29 16:04:42 UTC 2023
#12009: Add support for HTML 5 "async" and "defer" attributes
---------------------------------------------+--------------------------
Reporter: Otto42 | Owner: joemcgill
Type: enhancement | Status: closed
Priority: high | Milestone: 6.3
Component: Script Loader | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: needs-dev-note has-patch commit | Focuses: performance
---------------------------------------------+--------------------------
Comment (by westonruter):
Note that the landed feature does not include support for delaying inline
scripts. This means that if a delayed script (either `async` or `defer`)
has an inline `after` script, the delayed script will be forced to be
blocking to preserve the execution order. For revisiting the
implementation of delayed inline scripts to avoid this, see #58632.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12009#comment:157>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list