magento / security-package

Magento Security Extensions
Open Software License 3.0
73 stars 69 forks source link

reCapcha loading reflects to page speed #333

Open Bashev opened 9 months ago

Bashev commented 9 months ago

Description (*)

If reCaptcha is enabled, this few additional JS files are loaded automatically with the page loading. This reflects to the page speed of the site and of course, increase time to complete loading.

These files are external for the system and this also reflects to pagesspeed. They cannot be merged or bundled. This are 26 additional requests which comes with recaptcha loading.

image

Expected behavior (*)

Load recaptcha related files (and entire library) to be loaded only if is required and have forms to which need to be applied.

Benefits

Reduce loading time, increase page speed of the site (Google Page Speed).

Additional information

m2-assistant[bot] commented 9 months ago

Hi @Bashev. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information. Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.