fix(cache): add no-store for /releases/ error responses
Cloudflare was caching 404s from /releases/ with its default 14400s TTL because the app sent no Cache-Control header. Any miss (e.g. accessing a tarball URL before the file was uploaded) would poison the edge cache for 4 hours, breaking installs.
Fix: extend StaticCacheMiddleware to cover /releases/ paths — 200 responses get max-age=3600 (1 hour), non-2xx get no-store so Cloudflare never caches missing-file errors.
sha256:d185e332615b137e4d88ade84f308c3aff9998f678df8ad7e29afb80464a2870
sha
sha256:095765f04b98a3afc3505ff838234faa43f95a374f85dad84aedfff83c3a9b09
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:d185e332615b137e4d88ade84f308c3aff9998f678df8ad7e29afb80464a2870 --body "your comment"
No comments yet. Be the first to start the discussion.