Representing Fetch' body concept in streams, Response side
yutakahirano opened this issue · 6 comments
The ability to stream composite responses from service workers would enable client-side page composition without hurting first-paint latency on slow connections.
Please note that this is an internal issue for the spec (a.k.a. refactoring effort).
@gwicke Did you mean "streaming bytes composed in SW to the controlled page in response to fetch event" by "stream composite response"? Just wanna confirm.
@yutakahirano, understood. I just wanted to provide feedback that basic enqueue functionality would already be very appealing for SW users. If there is an opportunity to release a small part of the spec including this for implementation, then that could be very useful to users.
@tyoshino: Yes, exactly. See https://phabricator.wikimedia.org/T106099 for our (Wikimedia Foundation / Wikipedia) use case.
@gwicke Thanks for the reply and sorry for delay. We're trying to work on it with higher priority. We do understand composability like this would be important feature for utilization of SW.
merged c3e058c