top | item 10824995

(no title)

bahmutov | 10 years ago

The app saves its state in whatever form it wants. The demo saves it in localStorage that is very limited. One really should look at something better like IndexedDB or WebSql (or something that hides the technical details, like localForage or PouchDB).

discuss

order

imaginenore|10 years ago

WebSQL is not supported by IE nor FF, and is limited by 50 MB.

IndexedDB is limited by same 50MB, 5MB on mobile, and is only partially supported by IE, Safari and iOS.

bahmutov|10 years ago

That's why I recommend using PouchDB to work with whatever API is available. Storage limits are harder to work around, but if your HTML snapshot weights more than 50MB (or even 1MB!) that it is a problem by itself.