[wp-trac] [WordPress Trac] #37387: Resource hinting: Do not preconnect to emoji CDN.
WordPress Trac
noreply at wordpress.org
Wed Jul 20 06:16:13 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 good- | Focuses:
first-bug |
-------------------------------------------------+-------------------------
Comment (by pento):
Let's change it to a `dns-prefetch`, which will still give us some
advantage.
* As has been discussed, the `preconnect` will be potentially pretty heavy
on the CDN. With the Unicode 9.0 emoji update, almost all browsers will
trigger the `preconnect`, even if we wait until after they've failed the
emoji render test. This will reduce over time, as browsers add native
Unicode 9.0 support.
* The `preconnect` only opens one connection, but `s.w.org` is HTTP/1.1,
so the browser will use the preconnected connection for the first emoji,
then it has to open new connections for subsequent emoji. That seems...
not very helpful. :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37387#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list