Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Offline support using localStorage #46

Open
bachp opened this Issue · 3 comments

4 participants

@bachp

It would be nice to have a HTML5 localStorage back-end for racer. This would allow an application to work in a truly offline fashion and still have the synchronization capability provided by racer.
I thought this could be similar to the mongodb back-end but on the client side.

The app would get bootstrapped the first time it connects to the server and it then can be used offline. The data would be stored persistently in the browser. As soon as the user is online again it gets synced back to the server as it would usually be done.

Maybe this is already possible using racer but I was not able to find anything about this.

@vmakhaev

It might be worth to consider using Indexed DB also. http://caniuse.com/#feat=indexeddb

@juzerali

Indexeddb will be better suited. localStorage is too slow.

@dts

Any updates on this? Racer is a perfect fit for a project I am working on, but some form of local storage is a must. What would be involved in integrating this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.