Since the cache API form Workers isn’t enabled when doing
wrangler dev I’m using the API to purge a URL when a user publishes some content.
The response I’m getting is totally ok and I get
For some reason this doesn’t work 100% of the times though. I thought it was a matter of waiting but when it works the url is purged immediately. When it fails the url is not purged even after 10 minutes of calling the API.
Is this normal behavior?
Will the cache API give me better results?