All our users have reported that they are not able to see the changes they made, after some investigation, we found that purging a single file using API stopped working, We haven’t change anything from our side, and even with a simple test, it’s not working.
Steps to reproduce:
1- Purge single file cache with Origin header:
curl -X POST "https://api.cloudflare.com/client/v4/zones/6d08a5c0a13fd809fc044ef20d531728/purge_cache" -H "Authorization: Bearer IqVFFyIfAy0GAsint1fbUle8Tk1NBE3bnyYpXk" -H "Content-Type: application/json" --data '{"files":[{"url":"https://quickfb.tyslo.com/config?shop=easysellform.myshopify.com","headers":{"Origin":"https://easysellform.myshopify.com"}}]}'
Response:
{
"result": {
"id": "6d08a5c0a13fd809fc044ef20d531728"
},
"success": true,
"errors": [],
"messages": []
}
2- Request the exact same file with exact same Origin:
curl --dump-header - -o /dev/null https://quickfb.tyslo.com/config?shop=easysellform.myshopify.com -H "Origin: https://easysellform.myshopify.com"
Response headers:
**CF-Cache-Status: HIT**
**Age: 3000**
Any idea why this has suddenly stopped working?