I build a nextjs API to purge Cloudflare cache by URL, and both localhost & Vercel return successful results like the below:
errors : [] messages : [] result : {id: "eba3aecbc392df911866cd33362df62e"} id : "eba3aecbc392df911866cd33362df62e" success : true
but the URL always returns a 304 status code if I purge the cache on Vercel.
the same operation on my localhost, accessing the URL will return a 200 status code.
304 status code (click purge on Vercel page and refresh the URL always get 304 code)
&
200 status code (only click purge on my localhost and refresh the URL will get 200 code)