The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.1 (Linux)
File Line Function
/showthread.php 802 errorHandler->error

Current time: 12-06-2019, 01:53 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DNS Prefetching: Loading the DNS of the domains needed before they are required
01-24-2013, 03:55 AM (This post was last modified: 01-24-2013 03:58 AM by Markus.)
Post: #1
DNS Prefetching: Loading the DNS of the domains needed before they are required
I just read this interesting article in the column 'Recent Industry Blog Posts':

I have heard for the first time that I can put a line with a domain name in the <head> and the browser is then already searching for the IP address. As a consequence, there would be then no time needed for a DNS Lookup.
So, this would really make sense ...

What I found out was that at least Firefox 3.5+, Chrome 5+ and the IE10 support this tag:
Quote:<link href="//" rel="dns-prefetch" />

The IE9 supports this tag:
Quote:<link href="" rel="prefetch" />

This means that I would need these 2 lines to have an earlier DNS Lookup of the ca. 40 % FF/Chrome users and the ca. 15 % IE9 users of our website ... and maybe other browsers as well as I just read that Safari (15 % of our users) has this feature since the year 2010 (version 5.0.1) as well.

Looking at the test result of our homepage ( ) I can identify more than 15 domains that could/should be dns-prefetched.

The big question is now:

Would it make sense to use the dns-prefetch? Why is nearly nobody using it? According to the article ca. 0,5 % of the pages checked on Alexa.

If so, and I put 15 domains in it ... this would mean ca. 2.000 letters if I put them in ...
Quote:<link href="//" rel="dns-prefetch" />
... and ...
Quote:<link href="" rel="prefetch" />
... which have ca. 50 letters each.

Would it have any negative effect for Google if I make the URLs on my website more similar by having the same lines in the head of all URLs?
Google says no, but I remember a while ago that this had an influence.

Or maybe only using a mini-version of using it, would mean that on our (only) subdomain we are putting a dns-prefetch for the domain but nothing else?

I am keen on knowing your opinion!

Some additional infos about the topic:
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
DNS Prefetching: Loading the DNS of the domains needed before they are required - Markus - 01-24-2013 03:55 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)