Today when looking at the source code of a website found <link rel= "dns-prefetch" href= "//static.tuweia.cn/" > A little curious about dns-prefetch, Because more than once to see, today finally can't help to see what he is what technology?
Here is a brief description of Dns-prefetch found on the internet.
DNS implements domain-to-IP mapping. Through the domain name to access the site, each request to do DNS resolution. Currently each DNS resolution, usually below 200ms. For DNS resolution time-consuming issues, some browsers use DNS Prefetch to improve the fluency of access.
What is DNS Prefetch?
DNS Prefetch is a DNS pre-parsing technique that when you browse a Web page, the browser parses the domain name in the page as it loads the page, so that you don't need to parse the DNS when you click the connection in the current webpage, reducing the user wait time and improving the user experience.
Currently supported DNS Prefetch browser has Google Chrome and Firefox 3.5
So how to control the browser side of the server to pre-parse the domain name?
If you want the browser side to parse a particular domain name, you can add the link tag implementation to the page. For example:
- <link rel="Dns-prefetch" href="www.ytuwlg.iteye.com"/>
If you want to control whether the browser side is pre-parsing the domain name, you can control it through the X-dns-prefetch-control property of the HTTP header.
Unfortunately, only Google Chrome and firefox3.5 are currently supporting the above label.
For more information about DNS Prefetch in Google Chrome, see:
Http://dev.chromium.org/developers/design-documents/dns-prefetching
In Chrome, you can enter ABOUT:HISTOGRAMS/DNS in the Address bar. Prefetchfoundname and About:dns to view the pre-parsed data for the current browser.
Dns-prefetch-dns Pre-analytical technology