Does the Workers fetch cache respect ETAG changes?
If I’m using the fetch caching feature in a worker to fetch objects from a GCS bucket, and I change the stored object on Google Cloud Storage (let’s say it was corrupted and needed to be processed again), will the fetch cache recognize the change and fetch the new object or how can I manage such behavior without having to manually purge or having to use cache keys and manual purges? Is there any way I can use ETAGS to automate this process?
3 Replies
I can not imagine it does as it is https://github.com/node-fetch/node-fetch. You would have to write your own client ETAG implementation
Even as an enterprise customer with access to custom cache settings?
Pretty sure