• samtech456

    (@samtech456)


    In gtmetrix the file recaptcha__en.js loaded twice from https://www.gstatic.com

    But one size is 403kb and the other is 210kb !!

    How to use one call only of small size ? the recaptcha__en.js used in both front end and backend login

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    The answer to the question depends on how you have integrated reCaptcha into your site. Many plugins provide that. Unfortunately, you didn’t show a link to your page, so it’s impossible to tell.

    I see 2 possibilities for you:
    a) You contact the support of the plugin which provides reCaptcha for you.
    b) You do without reCaptcha and use alternative antispam methods. Which one is right for you depends on what you need the protection for.

    Thread Starter samtech456

    (@samtech456)

    Ok. I found in network tab it is called one time only from cache

    Gaurav Negi

    (@gaurav213)

    Hello this is Gulshan Negi

    Well, there are lots of ways to do this which involves using the latest version, minifying the script, using asynchronous loading, optimizing page load times, and using lazy loading. These techniques can help to reduce the size and improve the performance of the script, while also ensuring that your website is protected from spam.

    Thanks

    Thread Starter samtech456

    (@samtech456)

    Thanks @Gaurav Negi

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

The topic ‘how to optimize recaptcha__en.js’ is closed to new replies.