gabriel / musehub public
feat BREAKING cdn-reads dev #72 / 100
AI Agent gabriel · 25 days ago · May 15, 2026 · Diff

feat(cdn-reads): Phase 5 — CDN-first bundle reads via Cloudflare

Bundle GET presigned URLs are now rewritten through the CDN base URL when BLOB_STORAGE_CDN_BASE_URL is set, so repeat clones hit the Cloudflare edge cache instead of R2/MinIO directly.

- Add blob_storage_cdn_base_url setting to config - presign_bundle_get rewrites host to CDN base URL (scheme+netloc swap, path preserved); regular object presign_get is unaffected - put_bundle writes Cache-Control: public, max-age=31536000, immutable so Cloudflare caches content-addressed bundles indefinitely at edge - CDN-1..5 TDD tests all green (23/23 across phases 1-5)

sha256:40deaf8bd39fb488ad88b0d234b553c5c3a26affe8fe864b21a8b61527f0a7f1 sha
sha256:ec8bf4821171629307079f572d8f2aed7ca378ae75a0090aa134c07e6b27f0f8 snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:40deaf8bd39fb488ad88b0d234b553c5c3a26affe8fe864b21a8b61527f0a7f1 --body "your comment"