Been looking for an up-to-date answer to this but am at the end of my rope: is there currently a way to persistently store large amounts of binary data? (A Blob
or or ArrayBuffer
, >100MB )
Things seem to be developing toward IndexedDB as the universal solution, but it is not currently persistent. The only other suitable method appears to be the File System API which isn't too well-supported outside of Chrome.
Are there any reasonable solutions yet?
Been looking for an up-to-date answer to this but am at the end of my rope: is there currently a way to persistently store large amounts of binary data? (A Blob
or or ArrayBuffer
, >100MB )
Things seem to be developing toward IndexedDB as the universal solution, but it is not currently persistent. The only other suitable method appears to be the File System API which isn't too well-supported outside of Chrome.
Are there any reasonable solutions yet?
Share Improve this question asked Apr 29, 2013 at 18:32 DanDan 1,7552 gold badges18 silver badges25 bronze badges2 Answers
Reset to default 2IndexedDB can store that data, here's an article on storing images and files. The problem that you'll hit first is storage limits.
Most desktop browsers will ultimately allow as much storage as you want but the user will be prompted to allow it to happen.
As Slace suggested, IndexedDB will solve your problem but it isn't supported in Safari (yet) and Chrome doesn't let you stored blobs in IndexedDB (yet).
The LargeLocalStorage project bridges those gaps and gives you large, persistent storage in IE, Chrome, Firefox, Safari and Opera.
LargeLocalStorage also uses the FilesystemAPI under Chrome which is actually documented as being persistent. Chrome stills documents IndexedDB as being temporary storage https://developers.google./chrome/whitepapers/storage#table.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744537588a4579522.html
评论列表(0条)