403 error when form is submmited with CSRF token



Hello, we are using CSRF token for every form/ajax post, but cloudflare is caching CSRF token due to this we are getting 403 error, we want to exempt caching CSRF token, kindly help us
please find the reff. image


I recommend removing any “cache everything” page rules if you have that sort of interactive content on your site. Cache everything is generally only a good idea for truly static sites.

closed #3

This topic was automatically closed after 14 days. New replies are no longer allowed.