[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes
WordPress Trac
noreply at wordpress.org
Tue Mar 6 04:20:59 UTC 2018
#12009: Add support for HTML 5 "async" and "defer" attributes
---------------------------+-----------------------------
Reporter: Otto42 | Owner: azaozz
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Script Loader | Version: 4.6
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+-----------------------------
Comment (by mor10):
For clarity: We should not blanket `defer` all scripts. A decision as to
what approach is best (default, `async`, or `defer`) needs to be done on a
script-by-script basis to optimize performance. The behavior of the two
options is significantly different and can be taken advantage of in
different circumstances.
Separately, just to add more numbers to the convo, the Can I Use stats on
support are relevant: https://caniuse.com/#search=http2
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12009#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list