• Resolved polyfade

    (@polyfade)


    Is there anyway to improve the performance delivery? My site dropped from 97% down to 50%!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor kaggdesign

    (@kaggdesign)

    Are you sure that hCaptcha is the culprit? Can you provide a link to your page with the performance issue?

    Thread Starter polyfade

    (@polyfade)

    Typically, I use the hcaptcha plugin, and gtag for tracking analytics and ads.

    However, I performed Google Pagespeed Insights mobile simulated tests with gtag and hcaptcha both disabled, and performance is ~97%. See screenshot
    With hcaptcha enabled, but gtag disabled, performance is ~50%. See screenshot

    With only gtag enabled, and hcaptcha disabled, performance is ~80%.

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Your links point to malicious pages.

    If I try to open it without https

    Thread Starter polyfade

    (@polyfade)

    @kaggdesign The links go directly to each image file hosted on CloudUp.com – a service Matt Mullenweg also owns. What do you mean by malicious? When I attempt to open either link with only http, it just redirects to the httpsversion. If I copy/paste or click on my links I posted above, it takes me to the image. Does your browser contain malware?

    • https://cldup.com/-8JaqEN5a3.webp
    • https://cldup.com/dJbh0sYysm.webp
    Thread Starter polyfade

    (@polyfade)

    With hcaptcha

    Without hcaptcha

    Thread Starter polyfade

    (@polyfade)

    URL should not be malicious, and secure:

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Apologies. Something strange with my local Internet provider. First time I see it.

    I have turned on VPN and now I can see your pictures and the website. Trying to guess what is going on.

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Can you try to do two things?

    1. Set “Delay Showing hCaptcha, ms” to 0. See the result.
    2. Return delay to -100. Find the file src/php/DelayedScript/DelayedScript.php and replace
    window.addEventListener( 'touchstart', load );
    document.body.addEventListener( 'mouseenter', load );
    document.body.addEventListener( 'click', load );
    window.addEventListener( 'keydown', load );
    window.addEventListener( 'scroll', scrollHandler );

    to

    const options = { passive: true };

    window.addEventListener( 'touchstart', load, options );
    document.body.addEventListener( 'mouseenter', load );
    document.body.addEventListener( 'click', load );
    window.addEventListener( 'keydown', load );
    window.addEventListener( 'scroll', scrollHandler, options );

    Kindly let me know the result in the case 1 and case 2.

    Thanks.

    Thread Starter polyfade

    (@polyfade)

    @kaggdesign Unfortunately, neither option was better than the default. Option 1 seemed to return worse results when changing -100 to 0.

    I realize calling 3rd-party assets could result in this kind of performance hit on slower connections. You’re already using a dns prefetch call, so I’m not sure what could be improved.

    Using Lighthouse compared to PageSpeed Insights also returns very different results even though they both use a simulated slow 4G connection. So, neither seem to be reliable for simulated testing.

    Plugin Contributor kaggdesign

    (@kaggdesign)

    This is what I see now on your site.

    It is not bad result. Something was changed on the site, it became sensibly faster and a kind of scroll was removed at the page load.

    I think that hCaptcha is not a performance problem, actually.

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Closing as no answer for a week.

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

You must be logged in to reply to this topic.