3 ms·
Cache size is (fortunately) limited, and I wouldn't want a webapp to be able to store 100+MB of data in local storage without explicitely asking for my consent
by simias 16y ago
Cache size is (fortunately) limited, and I wouldn't want a webapp to be able to store 100+MB of data in local storage without explicitely asking for my consent beforehand.
- MatthewPhillips 16y agoThis hits on one of the biggest obstacles to people perceiving web apps as "real apps". Most web pages feel, and in actually are, very disposable. You read an article at a site once, you don't want those assets to persist on your hard drive where they'll never be reused. Many people clear their caches regularly. What we need is a way for a site to say "i'm an app" which will tell the browser to store the cache in a separate bucket. Then when users go to clear their cache, there is a separate checkbox for web apps which is uncheck by default (just how passwords are unchecked by default). This is what Mozilla should be working on with it's web apps project. The installation part is just mascara. We need the browsers to do the distinguishing, not users.
- mnutt 16y agoThis sounds like a good idea, but as someone who runs a website, why wouldn't I say that it's an app even if it isn't?
- MatthewPhillips 16y agoGood point. The obvious answer is to prompt the user when a website says it's an app and wants to use special storage options. But wording that might be difficult to prevent confusing the user. It's not as easy to understand as "this website want to use your geolocation" or "this website wants to send you notifications".
- marshray 16y agoI think I heard this was going to be a feature of HTML 5.
- nkassis 16y agoI think this is what is being planned. Browser will ask you if you want to allow the app to use local storage (and hopefully give it a limit). If not large webgl games are going to be a pain if you have to wait 30 minutes to play. I'm not saying 10Gb but 1-2 might not be a bad limit.