Single-file cache purging with Origin header not working

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?

It could be tied to yesterday’s problem that possibly not be completely fixed. Please open a ticket and post the ticket # here. If you receive a bot response, reply and let them know it’s still not working. support AT cloudflare DOT com

Yes its related to that problem and it’s resolved now

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.