biscolab/laravel-recaptcha

Lazy load script (poor lighthouse score)

heddn opened this issue · 4 comments

heddn commented

image

It would be nice to lazy load recaptcha as I don't even have the protected form until much lower on the page. Why download the script in the header when it could be loaded in the footer?

The documentation says: Lazy loading is not recommended

heddn commented

Hmm, maybe I used the wrong wording. It would be nice to load it later in the page request. Right now it effects my LCP scores a lot.

Eventually after posting this issue and since I don't get that much spam I decided to disable it entirely. I'd rather have it as an option to load it later or lazy, rather then make the painful decision to disable it entirely.

Any progress on this issue?

you guys can give a try to https://github.com/RahulDey12/laravel-captcha/ it's a new package developed by me.