nodejs / release-cloudflare-worker

Infra for serving Node.js downloads and documentation.
https://nodejs.org/dist
MIT License
22 stars 5 forks source link

fix: caching #75

Closed flakey5 closed 10 months ago

flakey5 commented 10 months ago

See #73

flakey5 commented 10 months ago

Quick question, do we need to also add CACHE_HEADERS.failure to our 5XX responses? (the try/catch on the worker.ts?)

That is also a part of this pr

ovflowd commented 10 months ago

Quick question, do we need to also add CACHE_HEADERS.failure to our 5XX responses? (the try/catch on the worker.ts?)

That is also a part of this pr

Oh I somehow didnt see this, still not seeing it 🤔 can you point me to the diff?

flakey5 commented 10 months ago

Oh I somehow didnt see this, still not seeing it 🤔 can you point me to the diff?

https://github.com/nodejs/release-cloudflare-worker/pull/75/files#diff-1245a5bbc4ca0684dff978efcae118b08f62d2afc05812df22d0627985b4273aR51