wp_verify_nonce and cloudflare incompatibility
-
Hi,
Currently i am using cloudflare page rules in order to cache also HTML pages.
I am posting here because it is WordPress specific the issue i am experiencing
Problem
I have a theme that uses the “wp_verify_nonce” function in many occurrences so i get in a situation that after exactly 24 hours errors starting to appear because the “wp_verify_nonce” returns false and the nonce is invalid.
In page rules i have configured edge cache ttl to 12 hours.Workaround
In case i purge cache by pressing purge everything button in cloudflare page the site is working perfectly for exact 24 hours.Questions:
1.How can i use page rules along with themes that use the “wp_verify_nonce” function ? (Maybe you should consider this specific setup in next plugin update)
2.Does cache edge ttl option, purge pages if nothing has changed in the meantime ? (i Believe not)Thanks in advance
- The topic ‘wp_verify_nonce and cloudflare incompatibility’ is closed to new replies.