R2 Custom Domain - Caching Suddenly Stopped Working
My R2 bucket has a custom domain that was working perfectly until today. Videos and images that used to load
instantly are now slow.
Setup:
instantly are now slow.
Setup:
- R2 bucket with custom domain (proxied)
- Cache Rule enabled: hostname equals my custom domain → Eligible for cache, Edge TTL: 1 monthProblem:All requests return cf-cache-status: DYNAMIC - nothing is being cached.curl -I https://my-cdn.example.com/image.jpgcf-cache-status: DYNAMICNo Cache-Control header in the response.What I've checked:
- Development Mode is OFF
- Cache Rule is enabled and first in order
- R2 custom domain shows "Active"
- DNS resolves to Cloudflare IPsNothing changed on my end. Was working fine yesterday. Any ideas why Cache Rules stopped applying to R2 customdomains?