Skip to content

Instantly share code, notes, and snippets.

@eder-dias
Forked from lukecav/DNS Prefetch domains
Created March 13, 2019 06:58
Show Gist options
  • Save eder-dias/8376adf5cf3ea9af83beb2e587647ff0 to your computer and use it in GitHub Desktop.
Save eder-dias/8376adf5cf3ea9af83beb2e587647ff0 to your computer and use it in GitHub Desktop.
WP Rocket - Advanced Options Prefetch DNS requests
//maps.googleapis.com
//maps.gstatic.com
//fonts.googleapis.com
//fonts.gstatic.com
//ajax.googleapis.com
//apis.google.com
//google-analytics.com
//www.google-analytics.com
//ssl.google-analytics.com
//youtube.com
//api.pinterest.com
//cdnjs.cloudflare.com
//pixel.wp.com
//connect.facebook.net
//platform.twitter.com
//syndication.twitter.com
//platform.instagram.com
//disqus.com
//sitename.disqus.com
//s7.addthis.com
//platform.linkedin.com
//w.sharethis.com
//s0.wp.com
//s.gravatar.com
//stats.wp.com
@Ameliyy
Copy link

Ameliyy commented Jun 17, 2021

This code I use for my website.

@lavallette90
Copy link

Very helpful. applied to my website. It really helps in improving my website speed.

@whatsgrip
Copy link

Prefetch DNS requests are very helpful for my site. I used this code.

@wedagintung
Copy link

Prefetch DNS requests are very helpful for my site. I used this code.

@zubairkhanniazi
Copy link

This Codes I used For my Site and I got the best results for the speed of my website

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