Offline support using localStorage #46

bachp opened this Issue Oct 22, 2012 · 3 comments


None yet
4 participants

bachp commented Oct 22, 2012

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 commented Oct 23, 2012

It might be worth to consider using Indexed DB also.

Indexeddb will be better suited. localStorage is too slow.

dts commented Jul 24, 2013

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