Code Responsible

Skip navigation

DNS Prefetching

DNS Speed

DNS lookups can be an issue that can make a website slow. DNS Prefetching is a nice new feature that allows the browser to cache domain names before the user tries to access any link on the website.

You have the ability to manually set domain names you’d like the browser to cache by using the dns-prefetch feature.

<link rel="dns-prefetch" href="https://google-analytics.com">
<link rel="dns-prefetch" href="https://api.twitter.com">
<link rel="dns-prefetch" href="https://graph.facebook.com/">

41 Posts

Ryan Burgess

Ryan Burgess is a Manager, UI Engineering at Netflix in San Francisco, California. Previously at Evernote. Listen to Ryan on the Front End Happy Hour podcast. He's also the creator of SensesLost.com, an online-based arts and culture magazine that focuses on graffiti and tattoo art.

Leave a Reply

Comment Form