javascript - HTML5 - Large Blob and persistent local storage - Stack Overflow

Been looking for an up-to-date answer to this but am at the end of my rope: is there currently a way to

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 badges
Add a ment  | 

2 Answers 2

Reset to default 2

IndexedDB 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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信