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

WordPress Trac noreply at wordpress.org
Wed May 18 12:09:50 UTC 2016


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

Comment (by swissspidy):

 Replying to [comment:13 ocean90]:
 > I don't think that this belongs to core in it's current state because it
 does ''nothing''.
 >
 > There are currently two plugins which are providing this feature:
 https://wordpress.org/plugins/dns-prefetch/ and
 https://wordpress.org/plugins/automatic-dns-prefetch/. Both together have
 only 300+ installs.
 > I suggest to take a look at the second one because "it parses through
 WordPress scripts and styles and create DNS prefetch statements for
 external resources".

 Agreed. Core needs to benefit from that, otherwise it doesn't make sense
 to include it.

 Not to forget Jetpack, which has some more installs and uses a similar
 method.

 I'd suggest doing two things:

 1. Automatically add hosts from enqueued media to the prefetch array
 2. Add the most important screens to the prerender array. For example,
 after logging in you are in the dashboard. From there, we could prerender
 the post-new screen.

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


More information about the wp-trac mailing list