Closed nevf closed 11 years ago
Hi Neville,
We have had plans to fully implement IndexedDB which allows for more storage, overall it's a much better solution that localStorage is.
I don't recall the specifics of the delay off the top of my head but the lead developer @nilclass can probably explain the status better.
Hope this helps Nick
On Sat, May 11, 2013 at 12:01 PM, Neville Franks notifications@github.comwrote:
My overwhelming concern with frameworks/libraries like this that provide off-line support is the fundamental limits imposed by using localStorage, which varies between 2.5 and 10MB depending on the Browser. You then halve the number of bytes as strings are UTF-16 which uses 2 bytes per character. These limits are way too small for anything but the simplest of applications. Unfortunately there is no simple solution for local storagehttp://There%20is%20no%20simple%20solution%20for%20local%20storage
— Reply to this email directly or view it on GitHubhttps://github.com/remotestorage/remotestorage.io/issues/48 .
We're currently working on support for IndexedDB and for that a shim to WebSQL (for mobiles that don't support IndexedDB). This will eliminate the storage limit, as well as make everything a little faster, because it's using asynchronous operations.
In the future we might be able to use the new Appcache API, whatever it will look like. A lot of people are working on that already, but that'll obviously take a year or 2, before we can use it in praxis.
@silverbucket & @skddc Thanks for your prompt response. Great to hear you are working on switching to IndexedDB along with a shim for WebSQL. Unfortunately this combination is the only workable one for all Browsers at this time. I'd personally love to see a NoSQL Database like MongoDB integrated into Browsers, but I can't see that happening any time soon. .
I'll close this issue if you don't mind.
@nevf We just launched our new community forums. Please feel free to open as many threads as you want on topics like these (and anything else you're interested in, of course): http://community.remotestorage.io
My overwhelming concern with frameworks/libraries like this that provide off-line support is the fundamental limits imposed by using localStorage, which varies between 2.5 and 10MB depending on the Browser. You then halve the number of bytes as strings are UTF-16 which uses 2 bytes per character. These limits are way too small for anything but the simplest of applications. Unfortunately there is no simple solution for local storage