Common subdirectories: /Users/alex/Desktop/recaptcha/recaptcha and ./recaptcha diff -up /Users/alex/Desktop/recaptcha/recaptcha.module ./recaptcha.module --- /Users/alex/Desktop/recaptcha/recaptcha.module 2010-05-19 13:29:37.000000000 -0400 +++ ./recaptcha.module 2010-05-25 15:58:05.000000000 -0400 @@ -88,6 +88,15 @@ function recaptcha_captcha() { $recaptcha_form_value = NULL; $recaptcha_ajax_api = variable_get('recaptcha_ajax_api', FALSE); + if ($recaptcha_ajax_api) { + // By default CAPTCHA turns off page caching on + // any page where a CAPTCHA challenge appears. + // If recaptcha is using AJAX API, set caching + // back to it's old state as stored in DB. + global $conf; + $cache = variable_get('cache', FALSE); + $conf['cache'] = $cache; + } // Construct the Javascript, but only display it once. static $_recaptcha_jsadded = FALSE; Common subdirectories: /Users/alex/Desktop/recaptcha/translations and ./translations