[wp-trac] [WordPress Trac] #53122: Add dns-prefetch resource hint as fallback for Google Fonts preconnect

WordPress Trac noreply at wordpress.org
Fri Jul 8 16:26:30 UTC 2022


#53122: Add dns-prefetch resource hint as fallback for Google Fonts preconnect
-----------------------------+-----------------------------
 Reporter:  westonruter      |       Owner:  westonruter
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  Bundled Theme    |     Version:  4.7
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  performance
-----------------------------+-----------------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch close


Comment:

 @westonruter Is this a change still worth making?

 The only browser currently supported in Core (and the larger community now
 that IE11 has reached end of life) [https://caniuse.com/?search=preconnect
 that does not support] `preconnect` is Firefox. Caniuse says it has not
 been supported since version 71 and Firefox is currently at version 102.

 Firefox also only supports `dns-prefetch` on HTTP origins. HTTPS is
 unsupported. 82%+ of active WordPress installs report using HTTPS, so it
 seems this would only benefit a small subset of sites.

 Adding the `close` suggestion, but if anyone feels strongly this should
 still be implemented it should be safe to add.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53122#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list