google / recaptcha

PHP client library for reCAPTCHA, a free service to protect your website from spam and abuse.
http://www.google.com/recaptcha/
BSD 3-Clause "New" or "Revised" License
3.47k stars 770 forks source link

Invisible Recaptcha widget wasting traffic #420

Open lamka02sk opened 3 years ago

lamka02sk commented 3 years ago

Today, I was doing performance report for one of our sites and I found out that recaptcha is for some strange reason reloading FontAwesome files. It's 87kB of wasted traffic. Do you know why this might be happening? Another thing is loading of the Roboto font, which is completely unnecessary in our case since we are already loading this font. Is there a way to block these requests? (I didn't find a real solution anywhere, just questions answered with more questions...). Thank you Screenshot_20210126_204036

lamka02sk commented 3 years ago

Another huge waste of resources...it is 260kB more than should be... Screenshot_20210126_205132

ThodorisElissaios commented 3 years ago

Any solution?

lamka02sk commented 3 years ago

@ThodorisElissaios I have not found a solution for now. I even tried loading reCaptcha on-demand only when it's needed, but with no luck. It just either didn't work at all, or the tests were failing all the time. It looks like reCaptcha is entirely made by interns with no QA. So many issues with it. Does not meet contrast requirements and basically all of the accessibility requirements are missing. Performance is absolutely terrible too.