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
Cyb3r-Jak3
Cyb3r-Jak310h ago
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
Kyle G
Kyle G10h ago
Even as an enterprise customer with access to custom cache settings?
Cyb3r-Jak3
Cyb3r-Jak310h ago
Pretty sure
Want results from more Discord servers?
Add your server