Opened 6 years ago
Closed 6 years ago
#3981 closed enhancement (fixed)
Add DNS preloading to .org homepage
Reported by: | jonoaldersonwp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Component: | General | Keywords: | |
Cc: |
Description
All of our pages make calls to s.w.org
and fonts.googleapis.com
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 wordpress.org homepage.
We should add the following code to the <head>, as early as possible.
<link rel='dns-prefetch' href='//s.w.org' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' />
Change History (2)
#2
@
6 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.
Ah, we should add
fonts.gstatic.com
, too - the Google Fonts CSS calls this.