Re: [whatwg/fetch] Allow .blob() to return disk-backed resource (#569)

Just as a "the more you know..." thing, Firefox does also have a fancy (cross-process) system for dealing with blob references, it's primarily used by disk-backed IndexedDB Blobs/Files (and the XHR/fetch spill-to-disk-to-avoid-OOMs-if-we're-not-a-private-browsing-session heuristic at play here.)  We even have tricks involving weak references so that if you IDB.put() a memory-backed Blob to disk multiple times we can de-duplicate it to a single on-disk reference, and without keeping the memory-backed blob alive beyond when it would normally die.  Which is to say, IDB is the best and everyone should use it for everything.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/569#issuecomment-318102020

Received on Wednesday, 26 July 2017 16:08:39 UTC