[wp-trac] [WordPress Trac] #37817: Emoji code not loaded responsibly
WordPress Trac
noreply at wordpress.org
Wed Aug 24 19:07:23 UTC 2016
#37817: Emoji code not loaded responsibly
---------------------------+-----------------------------
Reporter: superpoincare | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.6
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
I think the Wordpress emoji code is not loaded responsibly.
I did some experimentation.
When I disable emojis and move all external js to footer and even load
external styles asynchronously with some above the fold css inlined -
except Google Fonts - I observe is that fonts are fetched immediately
after Google fonts css is downloaded.
On the other hand, if I don't disable emojis, both the initial fetch of
Google Fonts css and the subsequent fetch of fonts are delayed. Both.
My conclusion is that the javascript delays both link fetches and CSSOM
building.
This I tested on Browserstack on OSX on Chrome and Safari.
Sorry, don't have a demo as this is complicated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37817>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list