[wp-trac] [WordPress Trac] #34292: Support for DNS Prefetching & Prerender

WordPress Trac noreply at wordpress.org
Tue Jul 12 13:10:25 UTC 2016


#34292: Support for DNS Prefetching & Prerender
-------------------------------------------------+-------------------------
 Reporter:  bhubbard                             |       Owner:
     Type:  feature request                      |  voldemortensen
 Priority:  normal                               |      Status:  closed
Component:  Script Loader                        |   Milestone:  4.6
 Severity:  normal                               |     Version:
 Keywords:  has-patch has-unit-tests needs-dev-  |  Resolution:  fixed
  note needs-docs                                |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by superpoincare):

 Replying to [comment:52 swissspidy]:

 Thanks. Will try.

 My point was that even dns-prefetch isn't always good. If I have Google
 Fonts enabled in the head, the browser will fire the request ASAP. So dns-
 prefetch to fonts.googleapis.com isn't that useful.

 What is in fact useful is preconnecting to fonts.gstatic.com.

 In fact I have opened a ticket for themes:
 https://core.trac.wordpress.org/ticket/37171

 I think these things are best left to theme developers who can use
 Wordpress functions added thanks to this thread in their themes.

 Also agree with @johnbillion. Seems like s.w.org preconnect is only needed
 if the page has emojis. So probably left to the Wordpress persons (could
 be you yourself!) who are in charge of emoji code.


 Thanks again.

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


More information about the wp-trac mailing list