Support » Plugin: W3 Total Cache » Form Nonce / Token Issues

  • Resolved Chad Reitsma


    Hey guys,
    I need some help 🙂

    We keep running into the same issue with form plugins, page-caching (both dynamic, and basic) will contain an expired nonce and the form will not submit.

    Some of our websites have a form on every page, so we can’t use the exception (do not cache specific pages).

    I have also tried creating a CRON job which triggers a page-flush every 10 hours (shorter than the nonce-lifespan). Using this snippet:

    $w3_plugin_totalcache = new W3TC\Generic_AdminActions_Flush;

    It doesn’t seem to work… Is there a global “Cache Lifetime” setting so I don’t have to use a CRON job? Or is there a way to Auto-Flush the cache after a specific time without CRON?

    Appreciate your help!


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Marko Vasiljevic



    You can use Cache Preload to Automatically prime the page cache in Performance>Page Cache. With this, you can choose the number of seconds to wait before creating another set of cached pages.

    Thanks Marko, that’s exactly what we need. Appreciate your quick response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form Nonce / Token Issues’ is closed to new replies.