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':
http://calendar.perfplanet.com/2012/spee...efetching/

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="//my.domain.com" rel="dns-prefetch" />

The IE9 supports this tag:
Quote:<link href="http://my.domain.com/" 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 ( http://www.webpagetest.org/result/130118...1/details/ ) I can identify more than 15 domains that could/should be dns-prefetched.


The big question is now:

1)
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.

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

3)
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.

4)
Or maybe only using a mini-version of using it, would mean that on our (only) subdomain http://aktienkurs-orderbuch.finanznachrichten.de we are putting a dns-prefetch for the domain http://www.finanznachrichten.de but nothing else?

I am keen on knowing your opinion!
Markus

Some additional infos about the topic:
https://developer.mozilla.org/en-US/docs...refetching
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)