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

WordPress Trac noreply at wordpress.org
Fri Jun 17 11:11:53 UTC 2016


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

Comment (by superpoincare):

 What about preconnect?

 It's useful for themes having Google Fonts.

 https://css-tricks.com/prefetching-preloading-prebrowsing/

 says "Much like the DNS prefetch method, preconnect will resolve the DNS
 but it will also make the TCP handshake, and optional TLS negotiation."

 so having an option of doing something like this will be handy:


 {{{
 <link href='https://fonts.gstatic.com' rel='preconnect' crossorigin>
 }}}

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


More information about the wp-trac mailing list