Skip to content

Instantly share code, notes, and snippets.

@lukecav
Last active October 9, 2024 00:30
Show Gist options
  • Save lukecav/9931c3f6e402e23f58065d6b2665ef5b to your computer and use it in GitHub Desktop.
Save lukecav/9931c3f6e402e23f58065d6b2665ef5b to your computer and use it in GitHub Desktop.
WP Rocket - Advanced Options Prefetch DNS requests examples
//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
//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
//i0.wp.com
//i1.wp.com
//i2.wp.com
//stats.wp.com
//pixel.wp.com
//s.gravatar.com
//0.gravatar.com
//2.gravatar.com
//1.gravatar.com
@caryn581
Copy link

lukecav - I hope that you or someone else in this forum may be able to clarify this for me. I added //soundcloud.com to my dns prefetch list. I am still having issues (see attached file) Should all these be added too: //wave.sndcdn.com, //w.soundcloud.com

I also came across code.ionicframework.com when running a test - should this be added to my prefetch list as well?

Any feedback would be greatly appreciated!

github ss

@mejbabiplob
Copy link

assume list

@mfurqanhaider
Copy link

Thanks Luke for DNS prefetching list. I have applied on my website but still performance is not good. What others things to consider for the best speed performance.
image_2021-09-22_124312

@lukecav
Copy link
Author

lukecav commented Sep 22, 2021

@us7p
Copy link

us7p commented Dec 27, 2021

//twitter.com
//facebook.com
//onesignal.com
//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
//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

@innermasteryhub
Copy link

sounds great, Thanks

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