Dns-prefetch-dns Pre-analytical technology

Source: Internet
Author: User
Tags prefetch

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:

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.