Skip to content

Instantly share code, notes, and snippets.

@lukecav
Last active March 30, 2024 20:53
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
@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

@isabellaabigail
Copy link

Hey Luke, I applied this DNS prefetching list.

//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

But still my website speed is 90 how can improve this speed more.

Loklok APK

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