[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
Wed Sep 21 11:30:48 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:  4.7
Component:  Bundled Theme    |     Version:  4.6
 Severity:  normal           |  Resolution:
 Keywords:  good-first-bug   |     Focuses:  performance
-----------------------------+--------------------------

Comment (by superpoincare):

 Looks fine @leobaiano

 You might want to do it for Twenty Sixteen as well as from 4.7 it will be
 bundled with Wordpress.

 There's one thing however. Might require a different ticket.
 wp_resource_hints doesn't add a '''crossorigin''' attribute. It seems to
 me that this is strictly needed for preconnect to work. One way to see it
 is the requests in webpagetest with and without it. I might open another
 ticket for it after setting up a demo at codepen or something.

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


More information about the wp-trac mailing list