Litespeed Blocking Recaptcha on WPForms




Wordpress LScache Plugin: Litespeed Blocking Recaptcha on WPForms

Last Updated on: Wed, 15 Apr 2026 00:00:02
Ive turned the js/css combine settings to on which seems to help in google speed tests and making the pages mobile friendly, however when doing so one issue occurs with wpforms and specifically, I think, with recaptcha. The recaptcha suddenly doesnt show or work and I get the WPForm Heads up! WPForms has detected an issue with JavaScript on this page. JavaScript is required for this form to work properly, so this form may not work as expected message appearing for admins. Is there a way to fix this without turning off minification or combined files as this is the only thing that has gone wrong since turning those settings to on, and Id prefer a faster well indexed site to a contact form that doesnt work, but ideally Id like both?? Ive already tried adding /recaptcha/api.js to the tuning js excludes. The page I need help with: https://www.richlywills.com/contact-us/ Hi, If youre still using V3.6.4, youll have this issue resolved without page speed scores compromised when you update the LSCWP plugin to the latest version. The latest Dev Commit is now V4.1-rc27. After you update your plugin to the latest version, turn on Guest Mode and turn off all the JS settings, and your issue will be resolved then. Regards. Hi there, I tried that. The version is already 3.6.4 but the issue seems to be that the Recaptcha on the form just isnt loaded (if v2 checkbox) or Google reCAPTCHA verification failed, please try again later. if v3. Is there not a way to exclude Recaptcha from JS combine caching? It seems like my pages are only mobile-friendly when JS combine is on. I can set the form to use no recaptcha and it works but thats surely going to invite spam right? I still get the Heads Up message when recaptcha is turned off but the form does go through. Hi, I actually dont see any recaptcha related JS in name-wise please try use wpforms as keyword to JS exclude , you may need to add it into both JS exclude and defer JS exclude save and purge all Best regards, Hi Qtwrk, you were right. Adding wpforms worked. I previously tried using wpforms.js in excludes which didnt work, so was led to thinking it was recaptcha (as that was the part not showing), but taking the .js out and just leaving wpforms did the trick. Thanks for your help.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference