[wp-trac] [WordPress Trac] #37171: Implement preconnect to Google fonts in themes twenty eleven, twelve, thirteen, fourteen, fifteen, sixteen

WordPress Trac noreply at wordpress.org
Mon Aug 15 05:25:36 UTC 2016


#37171: Implement preconnect to Google fonts in themes twenty eleven, twelve,
thirteen, fourteen, fifteen, sixteen
-----------------------------+------------------------------
 Reporter:  superpoincare    |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Bundled Theme    |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  performance
-----------------------------+------------------------------

Comment (by superpoincare):

 Don't think it's an overkill. preconnecting to fonts.gstatic.com over
 https can save a lot of time.

 Ilya Grigorik recommends it for Google Fonts while obviously knowing about
 costs:

 https://www.igvita.com/2015/08/17/eliminating-roundtrips-with-preconnect/

 Second, the css header already has instruction to preconnect. So the
 browser will preconnect anyway whether or not fonts cached. It's just that
 it's a bit late and preconnect in html is much better.

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


More information about the wp-trac mailing list