• Resolved milordk

    (@milordk)


    Recaptcha loading time from google site is 1300ms. Is it possible to modify the plugin and set async for < scripts >?

    • This topic was modified 1 year, 6 months ago by milordk.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author robertabela

    (@robert681)

    Thank you for posting on this forum and for using our plugin @milordk

    Can you please confirm that you are using v3 reCAPTCHA? Async is enabled by default on v2 but not in v3.

    We will add a setting in the plugin’s next update so you can also set async for the <scripts>. However, I would also recommend you to check the connection of your website because as such such scripts should not take that long to load. That is taking too much time.

    Please let us know if there is anything else we can assist you with.

    Thread Starter milordk

    (@milordk)

    greetings! I’m using v2. I think it would be nice to be able to choose async or not in the admin panel.

    Plugin Author robertabela

    (@robert681)

    We will indeed add an option, however, we still have a question: by default all v2 scripts are set to async, so in your case it should be on. This is the actual code output from the plugin:

    <script id=”c4wp-recaptcha-js” src=”<?php echo esc_url( $google_url ); ?>” async defer>

    If it is not, then it could be that another plugin might be interfering with this, or maybe you are using multiple plugins to add CAPTCHA to your websites?

    Looking forward to hearing from you.

    Thread Starter milordk

    (@milordk)

    hi! use Autoptimize, Surge… and 1 plugin for captcha – your plugin. manual add async in plugin code and.. low time to load recaptcha js)

    Plugin Author robertabela

    (@robert681)

    I am glad to read that it was “manually” solved Milo. We will add the setting in the next update of the plugin to ensure it is possible for users to enable/disable it when they want.

    Should you have any other questions please do not hesitate to ask us. Also, if you like the plugin and it serves you well, please do not forget to spare a minute to rate the plugin and our service. These ratings really helps us.

    Thank you very much and have a great day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘js takes a long time to load from google’ is closed to new replies.