Closed (fixed)
Project:
reCAPTCHA
Version:
7.x-1.x-dev
Component:
reCAPTCHA Captcha
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jun 2015 at 12:12 UTC
Updated:
13 Apr 2016 at 18:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hass commentedComment #2
liam morland@hass, do you know where this is getting cached and how to trigger a clear?
Comment #3
hass commentedI guess in page cache. We can do a clear if this setting is changed in the form.
Comment #4
liam morlandI'm not seeing this problem, but maybe I am not reproducing it properly. Can you provide steps to reproduce it?
Comment #5
hass commentedThat is quite easy to fix. I'm only not sure if we need to clear the full page cache or if we may only clear the cached forms.
Comment #6
hass commentedHaven't tested if this code, but this how this could be done. The only thing I'm not sure is where the page is cached. It could be cache_page or cache_form. We need to verify this and if we could provide the cache ID it would be a lot faster.
Comment #7
liam morlandI can't reproduce the problem, though I was not trying on a complete clean install, so that might be why. I did see the message "The CAPTCHA module will disable the caching of pages that contain a CAPTCHA element" on the Performance page when I went there to turn on the page cache. If statement is true, I don't see how the reCAPTCHA can be getting cached anyway.
Comment #8
hass commentedhttp://cgit.drupalcode.org/recaptcha/tree/recaptcha.module?h=7.x-1.x#n90
If ajax is enabled the caching is re-enabled and disabled caching of captcha module is therefore overridden.
Comment #9
hass commentedHave you now understood the code of the module your are maintaining?
Comment #11
liam morlandThanks.