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
  • Select an option

  • Save eder-dias/8376adf5cf3ea9af83beb2e587647ff0 to your computer and use it in GitHub Desktop.

Select an option

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
@wedagintung

Copy link
Copy Markdown

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

@zubairkhanniazi

Copy link
Copy Markdown

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

@BassamTK

Copy link
Copy Markdown

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

@benjaminjames708090-cmyk

Copy link
Copy Markdown

DNS prefetch is a simple but effective optimization because it reduces lookup time for external resources before users actually need them. I recently reviewed a helpful resource on this topic, and it also reminded me how performance improvements matter for service-oriented website
where visitors need quick access to important information.

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