Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sam Perrow

    (@samperrow)

    are you talking about the DNS prefetch that WP has automatically set for s.w.org?

    Thread Starter grantdb

    (@sixer)

    Its more than that… my site shows s.w.org and a CDN I use. It comes after your plugin code in the HTML source.

    Plugin Author Sam Perrow

    (@samperrow)

    I took a look at your site and didn’t notice a DNS prefetch for s.w.org. It’s possible the DNS prefetch for your CDN could be coming directly from your CDN. Also, I would try disabling the auto-generated DNS prefetches WP has set:

    remove_action( 'wp_head', 'wp_resource_hints', 2 );

    If that doesn’t do the trick, I would contact your CDN to see if they have a system set up that automatically adds the DNS prefetch hint without you being aware.

    Very fast site by the way, I can tell you have spent a lot of time and effort making it fast.

    Thread Starter grantdb

    (@sixer)

    Yep that did it, thanks! I also removed the “next” link and s.w.org must have gone after using remove emojies plugin.

    Thanks for your comment about my site being fast, I have done alot of work on it. I have to say there is a fine line between fast and user friendly and people need to take that into acount when optimizing.

    Cheers!

    Plugin Author Sam Perrow

    (@samperrow)

    cool glad i could help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable built in dns prefetch’ is closed to new replies.