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

@BassamTK
Copy link

I used this list for DNS Prefetch domains i used it in my wordpress site dor wpRocket and litespeed cash plugins and similer.
and i add some link althogh wich belong to my site
Thank you

@ArslanBlogger
Copy link

ArslanBlogger commented Apr 5, 2025

I implemented DNS Prefetch code on my blog website, and since then, the site speed has significantly improved.

@ArslanBlogger
Copy link

I implemented DNS Prefetch code on my blog website, and since then, the site speed has significantly improved.

After seeing the positive results, I also implemented the DNS Prefetch code on my other APK website, and it delivered the same performance boost.

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