offline-storage

Is there a way for a progressive web app to save a lot of data without using up all the memory?

ぐ巨炮叔叔 提交于 2021-02-08 07:38:35
问题 what i'm trying to do is save (2GB +-) of data for offline use. i do this using Dexie( wrapper for indexeddb) for my Progressive web app. My problem is that i use all of my laptops/android/IOS device's memory(RAM). Is there a way for a progressive web app to save a lor of data without using up all the memory? -localstorage has limits i think and also relies on memory or am i wrong ? -Filesystem API is it possible ? -LargeLocalStorage is it possible ? (https://github.com/tantaman

HTML5 offline storage - Alternative to Session? [closed]

六眼飞鱼酱① 提交于 2019-12-11 05:52:17
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I am working on a website which uses Session heavily. We are planning to migrate this website from framework 2.0 to framework 4.0 . We are also planning to use HTML5. Since we are re-designing the application, we

How can I implement MVVM with offline storage and Knockout.js?

痴心易碎 提交于 2019-12-04 13:04:31
问题 I can implement Mvvm with Knockout.js. But I want to use it with cross browser(FF and Chrome) supported Html 5 offline storage. I want to bind html objects to offline storage. 回答1: I haven't tried it, but there is a knockout.localStorage project on GitHub, that seems to be what you are looking for. With that plugin, you should be able to pass an object as a second argument, when you create your observable, which saves the observable into localStorage. From the documentation: var viewModel = {

How can I implement MVVM with offline storage and Knockout.js?

自闭症网瘾萝莉.ら 提交于 2019-12-03 07:27:24
I can implement Mvvm with Knockout.js. But I want to use it with cross browser(FF and Chrome) supported Html 5 offline storage. I want to bind html objects to offline storage. I haven't tried it, but there is a knockout.localStorage project on GitHub , that seems to be what you are looking for. With that plugin, you should be able to pass an object as a second argument, when you create your observable, which saves the observable into localStorage. From the documentation: var viewModel = { name: ko.observable('James', {persist: 'name'}) } ko.applyBindings(viewModel); You can use a library such