[wp-trac] [WordPress Trac] #43373: Evaluate Async & Defer for Inline WordPress Admin Scripts
WordPress Trac
noreply at wordpress.org
Thu Jun 14 08:01:09 UTC 2018
#43373: Evaluate Async & Defer for Inline WordPress Admin Scripts
-------------------------+-------------------------------------------------
Reporter: bhubbard | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script | Version: trunk
Loader |
Severity: normal | Resolution:
Keywords: close | Focuses: javascript, administration,
| performance
-------------------------+-------------------------------------------------
Changes (by mihai2u):
* keywords: => close
Comment:
Hi bhubbard,
You might've gotten a performance boost because your find/replace applied
to external scripts as well.
In the specs, you can see that the async attribute is only for external
scripts (and should only be used if the src attribute is present).
Relevant link: https://www.w3schools.com/TAgs/att_script_async.asp
My suggestion is to close this ticket and focus instead on getting ticket
#12009 moving forward in order to properly add support for deferring or
asyncing external scripts in the Wordpress way.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43373#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list