- From: Jake Archibald <notifications@github.com>
- Date: Tue, 30 Oct 2018 03:05:51 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 October 2018 10:06:12 UTC
@philipwalton > Having data for the same request stored in multiple places makes it much easier for that data to get out of sync Allowing arbitrary data to be stored with a response doesn't help this much. The data can easily get out of sync, although it's true both will be cleared at the same time. > In addition to cache expiration, there are other use cases for making Request/Response objects structured cloneable and easily storable in IDB. Right now we have to do a fair amount of work to extract all the data from a request (including reading the body as a Blob) so it can be stored in IDB and retried during a sync event. Agreed. This would be useful for background fetch too. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/863#issuecomment-434241037
Received on Tuesday, 30 October 2018 10:06:12 UTC