3 ms·
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 Index
by bahmutov 11y 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).
- imaginenore 11y agoWebSQL 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 11y agoThat'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.