admin管理员组文章数量:1333385
I am using Gravity Forms and have recently started using their Google Captcha integration. (We also use Autoptimize )
The problem I have is that de captcha validation goes wrong, but I am not sure where to look for the solution.
My question is: how can I get this to work?
(Autoptimize: We already have the "aggregate inline JS" turned off)
We also have expiry clauses in our htaccess. ExpiresByType application/javascript "access plus 2 months" ExpiresByType text/javascript "access plus 2 months" ExpiresByType text/html "access plus 0 seconds"
Is anyone having the same problem?
I am using Gravity Forms and have recently started using their Google Captcha integration. (We also use Autoptimize )
The problem I have is that de captcha validation goes wrong, but I am not sure where to look for the solution.
My question is: how can I get this to work?
(Autoptimize: We already have the "aggregate inline JS" turned off)
We also have expiry clauses in our htaccess. ExpiresByType application/javascript "access plus 2 months" ExpiresByType text/javascript "access plus 2 months" ExpiresByType text/html "access plus 0 seconds"
Is anyone having the same problem?
Share Improve this question asked Jun 17, 2020 at 15:33 thegirlinthecafethegirlinthecafe 561 silver badge9 bronze badges1 Answer
Reset to default 1In Autoptimize, in the Javascript Options, there's a field to 'Exclude scripts from Autoptimize', you will add a script to the field. You will need to add a comma to the last script already in the field then add this after:
/recaptcha/api.js
Hopefully, this helps.
Best, Carm
本文标签: cacheGravity formsRecaptchaAutoptimizesomewhere it goes wrong
版权声明:本文标题:cache - Gravity formsRecaptchaAutoptimize - somewhere it goes wrong 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742323881a2453335.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论