Pre-Resolve DNS Lookup with DNS Prefetching
19 Dec 2015 07:35 #4064
by Trony
Pre-Resolve DNS Lookup with DNS Prefetching was created by Trony
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. Football, 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.
Sono Il Re sul Carro Danzante.
Attraversando La Città Getto Via I Coriandoli Della Vostra Tristezza Regalando Passione Ed Estasi Nei Vostri Occhi.
Moderators: Trony
😼 This-Ads-Feeds-My-Cats
FusoElektronique

Pure Electronic Music
Community and Web Radio of Electronic Music, Art, Audiophile, Culture, Design, Events, Free Productions and Free Downloads, Politics and Technology.