- From: Tsuyoshi Horo <notifications@github.com>
- Date: Tue, 16 Dec 2014 01:32:05 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 16 December 2014 09:32:35 UTC
When the user clicks the stop button while the page is loading a large file (example: a movie file) via the ServiceWorker, the ServiceWoer should stop the HTTP fetching to reduce the resource usage. ```JavaScript self.addEventListener('fetch', function(event) { event.respondWith(fetch(event.request)); }); ``` Is this behavior specified in the Fetch spec or the ServiceWorker spec? --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/592
Received on Tuesday, 16 December 2014 09:32:35 UTC