阅读背景:

How can I make a really long string using IndexedDB without crashing the browser?

来源:互联网 

I'm writing a web app that generates a potentially large text file that the user will download, and all the processing is done in the browser. So far I'm able to read a file over 1 GB in small chunks, process each chunk, generate a large output file incrementally, and store the growing output in IndexedDB. My more naïve attempt which kept all the results in memory and then serialized them to a file at the very end was causing all browsers to crash.I'm writing a web app that generates a potentia




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: