Performance killer
-
Is there anyway to improve the performance delivery? My site dropped from 97% down to 50%!
-
Are you sure that hCaptcha is the culprit? Can you provide a link to your page with the performance issue?
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%.Your links point to malicious pages.

If I try to open it without https

@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 thehttpsversion. 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.webphttps://cldup.com/dJbh0sYysm.webp
With hcaptcha

Without hcaptcha

URL should not be malicious, and secure:

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.
Can you try to do two things?
- Set “Delay Showing hCaptcha, ms” to
0. See the result. - Return delay to
-100. Find the filesrc/php/DelayedScript/DelayedScript.phpand 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.
@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.
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.
Closing as no answer for a week.
You must be logged in to reply to this topic.