I’m not sure what exactly im doing wrong here
I have a route for which I’ve enabled cache everything page rule. the route returns a standard JSON response. In order to prevent stale data from being sent , i either call the custom purge API or purge the route directly in the cloudflare UI.
The problem is that i still seem to be getting stale data despite the purge - here’s an example response i get from cloudflare AFTER i purge the route via the UI
x-requested-with, Content-Type, frt-ref, kite-iframe
POST, PUT, GET, OPTIONS, DELETE, PATCH
Tue, 07 Jul 2020 08:31:11 GMT
As you can see the age header is 2440 seconds which is clearly wrong since i purged the asset less then 30 seconds ago
I add the same URL when im trying to purge the cache by file