Defer parsing of JavaScript, Recaptcha
-
Good day folks,
We have discovered that using certain functionality, like Google’s reCAPTCHA script to fight form spam is actually harming our site speed. The issue is this functionality is dependent on loading numerous third party JavaScript and CSS files preemptively when a form may not even be used by the visitor. This functionality adds extra weight and requests in order for the website to load which is not recommended.
Therefore, we would like to know if you need to provide any extra code on the functions.php file or change the configuration in the form settings to defer the loading of the reCAPTCHA script until a visitor interacts with the contact form (preferable).
Once again, your help on this matter is greatly appreciated.
- The topic ‘Defer parsing of JavaScript, Recaptcha’ is closed to new replies.