find the http response size of a worker
we are using r2 in an worker with sample code from here:
https://developers.cloudflare.com/r2/examples/demo-worker/
we plan to use send the response metrics to workers analytics engine.
but for the response from cache, it seemed we cannot easily find the content-length header or is there any other way to find the size of this response from cache?
thanks in advance
https://developers.cloudflare.com/r2/examples/demo-worker/
we plan to use send the response metrics to workers analytics engine.
but for the response from cache, it seemed we cannot easily find the content-length header or is there any other way to find the size of this response from cache?
thanks in advance
Below is an example Worker that exposes an R2 bucket to the Internet and demonstrates its functionality for storing and retrieving objects.
