In cloudflare workers when we do a HEAD request using fetch or GET request with range headers set on a remote file using fetch.. the cloudflare documentation says that if the full file is not already in the cache.. the worker first pulls the full file into cache and responds with the data from the cache for that request and all subsequent requests. But it is also documented that the maximum size of a file that can be cached by workers is 512 MB. Given that we definitely have files bigger than 512 MB on which we are doing HEAD and range requests.. this might turn out to be problematic.
I did do some investigation already.. the results were confusing.. a more thorough investigation is warranted.
In cloudflare workers when we do a HEAD request using fetch or GET request with range headers set on a remote file using fetch.. the cloudflare documentation says that if the full file is not already in the cache.. the worker first pulls the full file into cache and responds with the data from the cache for that request and all subsequent requests. But it is also documented that the maximum size of a file that can be cached by workers is 512 MB. Given that we definitely have files bigger than 512 MB on which we are doing HEAD and range requests.. this might turn out to be problematic.
I did do some investigation already.. the results were confusing.. a more thorough investigation is warranted.