exactly.
Before I dive into the Worker API documentation: how challenging can it be?
Just test if the asset is not in cache. If no, analyze the request, take the key, fill the cache by value and return it.
Javascript (Typescript) is no problem for me.
I just don’t know the Worker API and cache workflow. I suppose the Worker code is called before reading from the cache.
But it probably wouldn’t be pleasant to compose a multipart range cache response. Just fill the cache a let Cloudflare work …
just replace my origin server (Azure blob storage now, which does not allow multipart range request) with other cloud storage (KV). I was hoping to find a ready-made solution (as KeyCDN and Bunny has).
I’m just reading the doc and examples, it shouldn’t be a problem.