Opened 5 years ago

Closed 5 years ago

#3981 closed enhancement (fixed)

Add DNS preloading to .org homepage

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: low
Component: General Keywords:


All of our pages make calls to and for scripts and resources.

On most templates, we use DNS prefetching to warm up the connection, which reduces load time by 200-300ms for each extra connection.

We currently don't have this on the homepage.

We should add the following code to the <head>, as early as possible.

<link rel='dns-prefetch' href='//' />
<link rel='dns-prefetch' href='//' />

Change History (2)

#1 @jonoaldersonwp
5 years ago

Ah, we should add, too - the Google Fonts CSS calls this.

#2 @dd32
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This has been implemented in [dotorg-14683].

Static resources will get a static list of the 3 mentioned domains here, and WordPress sites using wp_resource_hints() will also have the hard-coded static domains added to their dns-prefetch list.

Note: See TracTickets for help on using tickets.