Skip to content

[Performance] Load reCaptcha on focus to input to improve page load times #38303

Open
magento/security-package
#334
@Bashev

Description

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

No response

Release note

No response

Metadata

Assignees

Type

No type

Projects

  • Status

    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions