Title: Automatically set preconnect hints issue
Last modified: June 7, 2020

---

# Automatically set preconnect hints issue

 *  Resolved [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/)
 * Hi Sam,
 * I am using PHP 7.3 WordPress 5.4.1 and I have tried deactivating all plugins 
   but auto-feature of the Pre Party does not work. I have tried to reset and reload
   the website multiple times but the hints page stays blank. Have you heard about
   similar issue from other users? And if yes, what could be the reason?

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

 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951024)
 * [@loveinlions](https://wordpress.org/support/users/loveinlions/) Thanks for contacting
   me about this. I have a few questions:
    -Are you able to add hints manually? (
   I have heard of this issue). If so can you also edit and delete them properly?-
   Has the auto preconnect feature always worked for you in the past?
 * For the short term I suggest using version 1.7.1:
    [https://downloads.wordpress.org/plugin/pre-party-browser-hints.1.7.1.zip](https://downloads.wordpress.org/plugin/pre-party-browser-hints.1.7.1.zip)
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951079)
 * [@samperrow](https://wordpress.org/support/users/samperrow/) thank you for replying
   on Sunday.
 * – I am able to add hints manually but further testing with webpagetest shows 
   that none of those hints influence the domains. For example, I added [https://stats.g.doubleclick.net](https://stats.g.doubleclick.net)
   as per your example but nothing changed in the test: [https://prnt.sc/svgs95](https://prnt.sc/svgs95)
   –
   It was a fresh install for me, so the auto preconnect feature did not work straight
   away. – I’ve just tried 1.7.1 but the auto feature does not work either.
 * Any thoughts?
 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951095)
 * [@loveinlions](https://wordpress.org/support/users/loveinlions/) Is your site
   using any caching system or CDN? Can you tell me your site’s domain?
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951128)
 * Yes, sure: [helenarecipes.com](https://www.helenarecipes.com)
 * – CDN: no CDN is being used now. I used to have Cloudflare but no more.
    – Cache:
   I am using [Cache for WordPress Performance ](https://wordpress.org/plugins/cache-performance/)
   plugin but deactivating it and clearing cache does not help. It’s currently active
   but please let me know if you’d like me to deactivate it for testing.
 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951134)
 * [@loveinlions](https://wordpress.org/support/users/loveinlions/)
    -Do you have
   the “Automatically set preconnect hints” option to “yes”? -Can you click the “
   Reset” button to the right of “Reset automatically created preconnect hints”?
   Both of these options are in the “settings” tab.
 * The auto-preconnect hint feature is supposed to work by running a script, collecting
   the needed info, create hints from that, and not run again unless the user specifies.
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951161)
 * [@samperrow](https://wordpress.org/support/users/samperrow/)
    – Yes: [https://prnt.sc/svhcvt](https://prnt.sc/svhcvt)–
   Done. Reloaded the live page, too. No changes.
 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951198)
 * [@loveinlions](https://wordpress.org/support/users/loveinlions/) Looks like Autooptimize
   has compressed the JS file needed to acquire the preconnect hints ([https://www.helenarecipes.com/wp-content/cache/autoptimize/js/autoptimize_single_991159460a232e753aae9874b5ee8356.js](https://www.helenarecipes.com/wp-content/cache/autoptimize/js/autoptimize_single_991159460a232e753aae9874b5ee8356.js)).
 * Because the plugin script has been cached, (and thus set to be fired every page
   load) I have had to put in a check to prevent my script from sending the hints
   every page load.
 * I got the script to fire correctly on your site- you should have hints created
   for translate.google.com, translate.googleapis.com, fonts.googleapis.com, fonts.
   gstatic, gstatic, googletagmanager, and google-analytics.
 * I believe there’s an option in Autooptimize that allows you to ignore certain
   JS files, if so please tell it to ignore “find-external-domains.js” from my plugin.
 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951203)
 * You will need to clear your front end cache to allow those new hints to be displayed.
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951308)
 * [@samperrow](https://wordpress.org/support/users/samperrow/)
    Thank you for looking
   into my website and the detailed explanation.
 * As per your instructions, I have added the script to the exclusions: [https://prnt.sc/svi4cp](https://prnt.sc/svi4cp),
   cleared cache multiple times (both front-end and back-end), then clicked “reset”
   and reloaded the page. Repeated the same steps over and over again, but nothing
   changes, the hints are still empty: [https://prnt.sc/svi5ey](https://prnt.sc/svi5ey)
 * In fact, I have even tried deactivating Autopimize and other plugins, still nothing.
 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951332)
 * Try to uncheck the “Aggregate all linked Js-files…” box, and change the link 
   to my plugin script to “wp-content/plugins/pre-party-browser-hints/js/find-external-
   domains.js”.
 * I just tried it on my machine and it worked.
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951364)
 * [@samperrow](https://wordpress.org/support/users/samperrow/)
    Nope, still nothing:
   [https://prnt.sc/svihsx](https://prnt.sc/svihsx) I have also tried unticking 
   the following: [https://prnt.sc/svii5r](https://prnt.sc/svii5r) but it didn’t
   help either. 😱 If it works on your side but doesn’t on mine, could it be something
   server-side that is in the way?
 *  Plugin Author [Sam Perrow](https://wordpress.org/support/users/samperrow/)
 * (@samperrow)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951383)
 * Can you try again, this time with your performance cache plugin deactivated?
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951388)
 * Deactivated: [https://prnt.sc/svip26](https://prnt.sc/svip26) but no changes…
 *  Thread Starter [Vladi](https://wordpress.org/support/users/loveinlions/)
 * (@loveinlions)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951526)
 * I think I will need to spend some time working through all plugins to find the
   one that blocks yours. If it works on your side there’s got to be something on
   mine that prevents your script from working, even though we’ve tried to eliminate
   those that could really affect it. Either way, I appreciate your willingless 
   to help and for taking time to trying to find what’s wrong. 5 stars for your 
   support from me. Thank you!

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

The topic ‘Automatically set preconnect hints issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pre-party-browser-hints_7b3960.svg)
 * [Pre* Party Resource Hints](https://wordpress.org/plugins/pre-party-browser-hints/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pre-party-browser-hints/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pre-party-browser-hints/)
 * [Active Topics](https://wordpress.org/support/plugin/pre-party-browser-hints/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pre-party-browser-hints/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pre-party-browser-hints/reviews/)

## Tags

 * [automatic](https://wordpress.org/support/topic-tag/automatic/)
 * [not working](https://wordpress.org/support/topic-tag/not-working/)

 * 14 replies
 * 2 participants
 * Last reply from: [Vladi](https://wordpress.org/support/users/loveinlions/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/automatically-set-preconnect-hints-issue/#post-12951526)
 * Status: resolved