Re:Instant Web Application
by bahmutov on Friday January 01, 2016 @11:10PM
(#10824995)
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).
[ Parent
| on HN ]
Re:Instant Web Application
by imaginenore on Saturday January 02, 2016 @08:28AM
(#10826127)
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.
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.