Skip to content

Instantly share code, notes, and snippets.

@rafaell-lycan
Created January 2, 2017 10:00
Show Gist options
  • Save rafaell-lycan/8008151766489fa1509c14883ddf5798 to your computer and use it in GitHub Desktop.
Save rafaell-lycan/8008151766489fa1509c14883ddf5798 to your computer and use it in GitHub Desktop.
DNS prefetch (Google Analytics & Fonts)
<!-- DNS prefetch -->
<link rel='dns-prefetch' href='//ajax.googleapis.com' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
Copy link

ghost commented May 23, 2018

No need for the self-closing slash at the end if using HTML5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment