Hey all,
I have an R2 bucket from which I plan on serving a number of static files from (webm, png, json, etc).
When I request files through the bucket’s r2 dev domain the “Content-Length” header is sent with each response. However, when certain files (js & json files in my case) are requested through a custom domain proxied to the aforementioned bucket, Cloudflare seems to be compressing them and not providing the content length.
Is there any way to retain the content-length header when using a custom domain with R2? Perhaps by uploading compressed files or disabling compression altogether?
PS my domain has no page rules