[wp-trac] [WordPress Trac] #37387: Resource hinting: Do not preconnect to emoji CDN.
WordPress Trac
noreply at wordpress.org
Mon Jul 18 03:19:07 UTC 2016
#37387: Resource hinting: Do not preconnect to emoji CDN.
------------------------------------------+--------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+--------------------
Comment (by dd32):
> if the client fails the browser sniff, add a preconnect to the
appropriate CDN via JS per the spec. The preconnection will happen while
twemoji runs.
This seems like the more correct option over always performing it,
although it's only shaving a few ms in the event that a emoji is in use.
I'm not sure myself if it should be in the list at all, a fallback emoji
loading a few ms later isn't going to be the end of the world, and
browsers are getting better at supporting everything already.
I'd say the vast majority of WordPress sites don't actually have any
Emoji's on them, so a few ms in those cases would be fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37387#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list