- From: Takeshi Yoshino <notifications@github.com>
- Date: Wed, 21 Jan 2015 22:13:45 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 22 January 2015 06:14:12 UTC
Ideally, we should be able to instruct whether the cache should start sending data immediately or not on cache.match() and fetch() call. ---- Anyway, I basically prefer the `.body()` (sync) "method" idea by Horo. 1. `.body()` returns a Stream instance synchronously 1. The initial call of `.body()` tells the implementation that the script is interested in reading the data through the ReadableStream interface. The details of what the implementation does is left undefined in the spec. 1. Subsequent `.body()` calls also return the same Stream instance 1. What's allowed after `.body()` call -> To be discussed at https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-70846245 --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/606#issuecomment-70976257
Received on Thursday, 22 January 2015 06:14:12 UTC