DEV Community


Discussion on: “Nobody goes offline” on Web Apps — or do we?

yenyih profile image
Jordan Soo Yen Yih

Just a sharing that to have a better user experience, you may take a look on PouchDB (client side), and CouchDB (server side). You can do a master master data replication to your client side which gives the advantage of reading what you wrote during offline, for cache offline approach, u still able to write your data but you cannot read what you wrote. Of course there are also trade off for the pouchdb approach, which you cannot have running number in your data, extra effort to solve some distributed problems like Idempotent and etc...