Hello,
There have been a few reports of compatibility issues with WP Rocket, but we haven’t found an optimal workaround. We recommend adding the reCaptcha Callback script into the script excludes. Specifically, we want to make sure that the load is not being deferred, then if you’re still running into issues you can add it to the modification exclusions.
The script slug is: wpcf7-recaptcha-controls
The script relative URL is:
/wpcf7-recaptcha/assets/js/wpcf7-recaptcha-controls.js
You may need to reach out to WP Rocket for specifics but here are some documentation we found on the WP Rocket website:
https://docs.wp-rocket.me/article/976-exclude-files-from-defer-js
https://docs.wp-rocket.me/article/915-find-the-right-js-files-to-exclude-from-minification
Hopefully, with the above instructions you’re able to solve your issue. Should you have any additional questions please reply back to this thread and we will assist further. Have a wonderful rest of your week!