[wp-trac] [WordPress Trac] #37788: dns-prefetch s.w.org conditionally via javascript
WordPress Trac
noreply at wordpress.org
Fri Nov 12 02:47:31 UTC 2021
#37788: dns-prefetch s.w.org conditionally via javascript
---------------------------+------------------------------
Reporter: superpoincare | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 4.6
Severity: normal | Resolution:
Keywords: | Focuses: performance
---------------------------+------------------------------
Comment (by westonruter):
Aside: I don't think it makes sense to conditionally add the `dns-
prefetch` link as part of the emoji detection script since at that point
the emoji would be injected into the page, meaning the `dns-prefetch` link
would be added during the same task that adds the emoji images. I don't
believe there would be any performance benefit since adding the emoji
image will immediately establish the DNS connection.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37788#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list