Pre-Resolve DNS Lookup with DNS Prefetching
Topic Rating
19 Dec 2015 06:35 #1 by Trony
Posts: 939 Profile views: 3260 Thank you received: 8
Register Date: 01 Jul 2008 Last login: 22 Sep 2021 22:50
From Google Developers:
"DNS resolution time varies from <1ms for locally cached results, to hundreds of milliseconds due to the cascading nature of DNS. This can contribute significantly towards total page load time. This filter reduces DNS lookup time by providing hints to the browser at the beginning of the HTML, which allows the browser to pre-resolve DNS for resources on the page.
This filter inserts the tag <link rel="dns-prefetch"> (or <link rel="prefetch"> for IE9) in the HEAD section, for all domains present in the HTML document. If the Flush Resources Early rewriter is turned on, this information will also be flushed early."
Here some Link Rel for most commons website:
Google AdSense
<link rel="dns-prefetch" href="//pagead2.googlesyndication.com">
<link rel="dns-prefetch" href="//googleads.g.doubleclick.net">
<link rel="dns-prefetch" href="//b.scorecardresearch.com">
YouTube
<link rel="dns-prefetch" href="//img.youtube.com">
<link rel="dns-prefetch" href="//www.youtube.com">
Google Map
<link rel="dns-prefetch" href="//maps.gstatic.com">
<link rel="dns-prefetch" href="//maps.googleapis.com">
Google Fonts
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
Google Analytics
<link rel="dns-prefetch" href="//www.google-analytics.com">
Amazon S3
<link rel="dns-prefetch" href="//s3.amazonaws.com">
Google CDN
<link rel="dns-prefetch" href="//ajax.googleapis.com">
Microsoft CDN
<link rel="dns-prefetch" href="//ajax.microsoft.com">
<link rel="dns-prefetch" href="//ajax.aspnetcdn.com">
CDN JS
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com">
Bootstrap CDN
<link rel="dns-prefetch" href="//netdna.bootstrapcdn.com">
Google Tag Manager
<link rel="dns-prefetch" href="//www.googletagmanager.com">
Facebook
<link rel="dns-prefetch" href="//connect.facebook.net">
Google+
<link rel="dns-prefetch" href="//apis.google.com">
Linkedin
<link rel="dns-prefetch" href="//platform.linkedin.com">
Twitter
<link rel="dns-prefetch" href="//platform.twitter.com">
"DNS resolution time varies from <1ms for locally cached results, to hundreds of milliseconds due to the cascading nature of DNS. This can contribute significantly towards total page load time. This filter reduces DNS lookup time by providing hints to the browser at the beginning of the HTML, which allows the browser to pre-resolve DNS for resources on the page.
This filter inserts the tag <link rel="dns-prefetch"> (or <link rel="prefetch"> for IE9) in the HEAD section, for all domains present in the HTML document. If the Flush Resources Early rewriter is turned on, this information will also be flushed early."
Here some Link Rel for most commons website:
Google AdSense
<link rel="dns-prefetch" href="//pagead2.googlesyndication.com">
<link rel="dns-prefetch" href="//googleads.g.doubleclick.net">
<link rel="dns-prefetch" href="//b.scorecardresearch.com">
YouTube
<link rel="dns-prefetch" href="//img.youtube.com">
<link rel="dns-prefetch" href="//www.youtube.com">
Google Map
<link rel="dns-prefetch" href="//maps.gstatic.com">
<link rel="dns-prefetch" href="//maps.googleapis.com">
Google Fonts
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
Google Analytics
<link rel="dns-prefetch" href="//www.google-analytics.com">
Amazon S3
<link rel="dns-prefetch" href="//s3.amazonaws.com">
Google CDN
<link rel="dns-prefetch" href="//ajax.googleapis.com">
Microsoft CDN
<link rel="dns-prefetch" href="//ajax.microsoft.com">
<link rel="dns-prefetch" href="//ajax.aspnetcdn.com">
CDN JS
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com">
Bootstrap CDN
<link rel="dns-prefetch" href="//netdna.bootstrapcdn.com">
Google Tag Manager
<link rel="dns-prefetch" href="//www.googletagmanager.com">
<link rel="dns-prefetch" href="//connect.facebook.net">
Google+
<link rel="dns-prefetch" href="//apis.google.com">
<link rel="dns-prefetch" href="//platform.linkedin.com">
<link rel="dns-prefetch" href="//platform.twitter.com">
Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover. Marxist.
Sono Il Re sul Carro Danzante. Attraversando La Città Getto Via I Coriandoli Della Vostra Tristezza Regalando Passione Ed Estasi Nei Vostri Occhi.
Follow Trony on: FusoElektronique | Facebook | Twitter | Soundcloud
Sono Il Re sul Carro Danzante. Attraversando La Città Getto Via I Coriandoli Della Vostra Tristezza Regalando Passione Ed Estasi Nei Vostri Occhi.
Follow Trony on: FusoElektronique | Facebook | Twitter | Soundcloud
Please Log in or Create an account to join the conversation.
Moderators: Trony
You might also be interested...
- You are here:
- Home ↬
- Forum ↬
- Design's Factory ↬
- Computers - WebMastering - Consolle ↬
- Pre-Resolve DNS Lookup with DNS Prefetching
FusoElektronique - Pure Electronic Music.
Community and Web Radio of Electronic Music since July 2008. Rome, Italy
Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) 2021.
About us | Our team | Cookie Policy | Privacy Policy | Terms and Conditions | Contact us | Sitemap