DNS Prefetch / Domain Name System Prefetching is one way to speed up the loading of certain domains and will certainly impact the speed of our blog. How DNS Prefetch Works
DNS Prefetch will give commands to the browser to finish rendering the Domain name as soon as possible then for a while the browser will bind it and when visitors scrool the blog page, the browser will automatically display the blog page faster because an external link with the DNS Prefetch tag is considered has finished loading. For example you install the Awesome font, then the tag used is
<link href='//use.fontawesome.com' rel='dns-prefetch'/>
How to Install DNS Prefetch
Paste this code, under the tag code <head> or & lt; head & gt;
Browser compatibility
DNS prefetching is supported by all major browsers (Safari 5.0+, IE 9.0+, Firefox 3.5+, Google Chrome), except for iOS Safari, Opera Mini, and Android Browser.
Conclusion
That’s it, you’re done. I hope this article has helped you learn how to speed up your website using DNS prefetching technique. If this article helped you then please leave a comment
ગુજરાતી ન્યુઝ 24/7
Thursday 26 December 2019