What is the name of the domain?
What is the error message?
NONCE has expired, reload the page.
What is the issue you’re encountering
For a number of plugins on my site (https://fcracer.com), I run into NONCE errors due to APO caching. The error messages the users get typically say something like “NONCE Expired, Reload Page”. This occurs with Jetpack’s comments plugin (so that users can utilize their Facebook account to post) as well as PostX pagination and even WPAstra’s native pagination. They all fail at some point due to NONCE expiry.
What steps have you taken to resolve the issue?
To alleviate this, I’ve added a page rule to clear edge cache every 8 hours. Is this the best approach to use? Are there any other options? I’m not even sure if the 8hrs Edge Cache TTL is the right thing to be doing; I did it because someone online said it solved their NONCE issues with Cloudflare APO and their Wordpress site. Any advice or guidance is greatly appreciated.
What are the steps to reproduce the issue?
It’s difficult to reproduce because it takes a day or two for the NONCE to become stale. I’ve also thrown in the new variable of adding the 8hr Edge Cache TTL so that may prevent the NONCE from being stale as frequently as it used to.