• Resolved Exo

    (@richardshea)


    So I love the simplicity of this cache, and using it already on some live sites but have since found it’s not compatible with things like Google reCAPTCHA
    Is there a workaround for that?
    Obviously I can exclude things like pages /contact/ for example, but I’ve some sites which have a contact form on EVERY page!

    The problem is with the likes of Contact Form 7 for example, but not exclusive to that plugin.

    Any help would be great, for now I have to stop using this cache.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    Thanks, I’ll investigate this.

    Regards,
    Marc.

    When you say not compatible. What happens then?
    And why do you need to stop using it?
    Are you saying the page with CF7 and recaptcha is not cached or does it do something else?

    Thread Starter Exo

    (@richardshea)

    Hi, it’s very random too I’m finding – if I clear cache the forms can then be submitted.
    Until then, the form won’t submit and a generic error shows… which according to CF7 forums is a recaptcha error.
    What is interesting is, when I cache the page manually (visit it myself) for the first time it works, but via a cron/rebuild of cache the next day it causes the forms problems.

    I’ve switched off the cache on all my sites as it turns out it’s happening on a form maker called DHVC Form (Visual Composer) too.

    But I did some tests on WP-Forms and Caldera with recaptcha and they seemed fine, so I’m none the wiser to be honest which doesn’t help you, and I can’t replicate the fault unless I clone to a staging copy which I’ll try and do ASAP for you as I’d like to use your cache as it’s so wonderfully simple!

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    From what I understand of how Google reCAPTCHA works, it’s your reCAPTCHA plugin that needs to be coded for cache-compatibility, not the other way round (the cache plugin can’t do anything to help). If a unique-per-user token is embedded in the page HTML, then that is always incompatible with page cacheing – i.e. not something the page cache plugin can fix. But if that unique-per-user token is fetched by your reCAPTCHA component over AJAX, then it can work together with page cacheing. So, what this boils down to is, you need to deploy a reCAPTCHA plugin that does it in a page-cache-compatible way.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Not compatible with Google reCAPTCHA’ is closed to new replies.