> > 1) In read-response-header hook, if the object is a Range response, *and* > it's cacheable, schedule a background load on the task threads. This > obviously has to be done in a way that the same request is only fetched > one, > effectively "locking" it.
How do i schedule a background load on the task threads? what are "the task threads"? Is there any API for that? I can't find new developed API from SDK document. it's not updated. If you give me a hint i'll search source code. > 2) On the task threads, we do a fetch through the SM for the URL, without a > Range header. We simply discard the results. > > yes. we don't have to send the response a users didn't ask but how discard? just close the buffer? > 3) While the background fetch is happening, client Range: requests for > those > objects continue to be proxied as before.