[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes
WordPress Trac
noreply at wordpress.org
Mon Mar 5 19:53:39 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):
Replying to [comment:43 azaozz]:
> All of this sounds pretty good, in theory. I wish we could do that right
now. The problem is that less than 25% of the websites currently support
HTTP/2: https://w3techs.com/technologies/details/ce-http2/all/all.
This is where I say we (WordPress, 30% of the web if you believe the
stats) have a role to play in moving the web forward. We also have a role
to play in making sure we don't hold the web back. While HTTP/2 is still
emerging, it is rapidly doing so, and the uptick will increase once Chrome
and Firefox release their "this site is not secure" flags and GDPR come
into effect. The way WordPress handles scripts today is not the way the
web of right now handles scripts, nor the way modern browsers and servers
want us to handle scripts. We need to push forward on this to establish
best practices and grant those who want to build modern web applications
the capability to do so without having to build around how WordPress
handles JavaScript.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12009#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list