jsonperl
jsonperl
CDCloudflare Developers
Created by Hello, I’m Allie! on 3/26/2025 in #workers-and-pages-discussions
You don’t need to buffer the whole thing
I really cannot for the life of me get the cache to response properly to a range request. It's always just returning the whole cached file.
8 replies
CDCloudflare Developers
Created by Hello, I’m Allie! on 3/26/2025 in #workers-and-pages-discussions
You don’t need to buffer the whole thing
@Hello, I’m Allie! if I store the full audio in the cache, there's no way to issue a range request against the cache is there? I'll need to pull the whole thing and slice the bits myself?
8 replies
CDCloudflare Developers
Created by Hello, I’m Allie! on 3/26/2025 in #workers-and-pages-discussions
You don’t need to buffer the whole thing
This is good stuff. Thanks, will poke around
8 replies
CDCloudflare Developers
Created by Hello, I’m Allie! on 3/26/2025 in #workers-and-pages-discussions
You don’t need to buffer the whole thing
So do you think I'd manually cache the entire audio, and then on successive calls pull from cache, zoom to the right bits and deliver those?
8 replies
CDCloudflare Developers
Created by Hello, I’m Allie! on 3/26/2025 in #workers-and-pages-discussions
You don’t need to buffer the whole thing
Hmm, that's interesting. I didn't realize you could stream to the cache
8 replies