Custom purge not working but return success
I'm trying to purge a file to update it but it doesn't work
I try to do it on the dashboard and it returns "Successfully purged assets"
I try to do it by calling the API in PHP and it returns a success too
But the asset isn't purged
1 Reply
Steps to reproduce :
Dashboard > āCachingā > āCache rulesā > āCreate ruleā > āURI fullā > āequalsā > url
Then configure like this :
Cache eligibility : Eligible for cache
Edge TTL : āIgnore cache-control header and use this TTLā > 1 day
Browser TTL : Bypass cache
Deploy the rule
Call the url one time to cache the file on cloudflare
Modify the file
Call the url > No change (which is normal because itās still in cache)
Dashboard > āCachingā > āConfigurationā > āCustom Purgeā > āPurge by : URLā > Paste the url > Purge > āSuccessfully purged assetsā
Call the url > No change (but should have changed, retry a few minutes after to be sure)
I described every step and what I expect to happen because Iām new to cloudflare and I may misunderstand something