Title: Problem with Captcha-bws plugin
Last modified: September 11, 2019

---

# Problem with Captcha-bws plugin

 *  Resolved [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/)
 * I have seen that if I enable the WP-Optimize cache, Captcha-bws plugin does not
   work.

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/page/2/?output_format=md)

 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920221)
 * Hi there,
 * Thanks for the report. Just to confirm, is this the plugin you’re talking about?
   
   [https://wordpress.org/plugins/google-captcha/](https://wordpress.org/plugins/google-captcha/)
 * Best,
 * Marc
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920226)
 * This: [https://it.wordpress.org/plugins/captcha-bws/](https://it.wordpress.org/plugins/captcha-bws/)
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920233)
 * Thanks. This plugin is currently closed, so I can’t download it to test. It says
   that it’s temporary, but it might indicate an issue with the plugin.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920271)
 * I tried disabling the WP-Optimize cache and then I reactivated it and now Captcha
   plugin works …. I don’t understand.
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920284)
 * If you tried only once, right after re-activating, it might be because the page
   wasn’t cached (it needs to be visited once to generate the cache file).
 * If the captcha is loaded via PHP, it will not work the following times.
    You 
   then might want to add the page where the captcha is to list to exclude from 
   cache in the cache advanced settings.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920308)
 * I would like Captcha plugin to be excluded from the cache, this would solve the
   problem. Is this possible?
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920358)
 * Currently the only way this could happen is if the captcha is loaded via javascript(
   like reCaptcha for example). The whole page is stored in the cache, and at the
   moment we can’t add or remove parts from it. This would also reduce the efficiency
   of the cache system.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11920576)
 * Now it seems to work on all pages. Probably when I deactivated and reactivated
   WP-Optimize, the Captcha plugin has been cached.
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11927996)
 * Hi Steve,
 * Is this the expected behaviour, or an issue (not sure from what you say above)?
   If it’s an issue, maybe you can share your website’s URL so I can take a look
   at what’s happening.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11928030)
 * This is the URL: [https://albertifoto.altervista.org](https://albertifoto.altervista.org)
 * In order to preload Captcha plugin in the WP-Optimize cache I have to disable
   and enable this option, then Captcha will work correctly.
 * [⌊Schermata-2019-09-13-alle-08-38-18⌉⌊Schermata-2019-09-13-alle-08-38-18⌉[
    -  This reply was modified 6 years, 9 months ago by [steve92](https://wordpress.org/support/users/steve92/).
    -  This reply was modified 6 years, 9 months ago by [steve92](https://wordpress.org/support/users/steve92/).
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11928334)
 * Thank you for the details.
    So you shouldn’t have to disable and enable this 
   option. You can just press the Purge cache button below (not sure how it’s called
   in Italian).
 * In any case, you shouldn’t have to purge the cache for this to work, as the captcha
   plugin uses javascript to enable the functionality.
 * But I’ve noticed that it uses the “nonces” system, so you should set the cache
   lifespan option to maximum 8 hours:
 * ![](https://i0.wp.com/i.postimg.cc/XYX1jXBP/wp-optimize-cache-screenshot.png?
   ssl=1)
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11928438)
 * So can I also set 1 hour?
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11928485)
 * You can, but I would keep it a bit higher, otherwise the cache might not be very
   useful, unless if your site has many visitors per hour.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11928525)
 * 8 hours can go, but the problem with Captcha is shown when I install the updated
   version of the theme. If the user writes a comment in these 8 hours, this shows
   a Captcha error.
    -  This reply was modified 6 years, 9 months ago by [steve92](https://wordpress.org/support/users/steve92/).
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/#post-11928952)
 * Does the error happen for the first person who comments as well, or only for 
   the next ones?

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/page/2/?output_format=md)

The topic ‘Problem with Captcha-bws plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 28 replies
 * 2 participants
 * Last reply from: [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/problem-with-captcha-bws-plugin/page/2/#post-11988601)
 * Status: resolved