I have noticed that single file cache purging on the free plan has recently intermittently stopped working. The last time I noticed this there was a bug that effected the free plan only (see #281900).
This seems to happen when the same file is purged more than once in quick succession. Is there any rate limit on the number of times a single file cache purge can be called on the free plan? I can see the Cloudflare API is returning a 200 on each occasion the cache is purged but the CDN is still serving up old content. Any help would be much appreciated!
When a responsecode 200 is generated the request must be executed. But keep in mind that the 200 code just means your request was accepted, there is a 30s windows in which the cache then will be purged.
Does this occure just if used the API or also when using the Dashboard?
Can you please doublecheck the header of the file when calling it and posting the header here, right after purging it’s cache, when it should be updated?
Just provide us with the URL and purge cache. Then I will check if the URL gets flushed. Also the ray-id (header) when this happens is usefull for the tech support, since it may is a local issue.
Hi @M4rt1n, thanks for your help yesterday. I’m not able to reproduce this again today. A few of my users have reported a problem over the last week or so, and I have witnessed the stale resource after they have reported it. I’ll report back with a purge cache ray-id when it happens again.
Just to confirm it’s the CF-Ray header on API responses in the format ‘6d01759e7d52418a-AMS’?
Will you also need the CF-Ray header on the subsequent GET request to the resource?
Actually I would need the whole response header. As screenshot like this would be perfect. Just create one the next time when you notice such a behaviour.