[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes
WordPress Trac
noreply at wordpress.org
Fri Mar 9 08:01:15 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 westonruter):
Also, in regards to concatenation and `load-scripts.php`... I don't
believe there is any reason why an `async`/`defer` script would have to be
pulled out from being concatenated. Browsers should still execute such
scripts just fine if they are loaded synchronously, as these attributes
were introduced and could be used even before all browsers supported them.
So we could keep serving the scripts inside of `load-scripts.php`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12009#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list