News for hackers. Stuff that matters.
Re:Ask HN: Offline mode for SaaS by labpdx on Sunday July 28, 2013 @03:56PM (#6117854)
For posting data, you could check connection status (or $.ajax error callback) and if the client cannot access then store the data locally using localStorage [1]. When the connection becomes available again then post all data from localStorage to the end-point and clear out local store.

[1] http://www.w3schools.com/html/html5_webstorage.asp

Re:Ask HN: Offline mode for SaaS by blaco on Sunday July 28, 2013 @08:23PM (#6118715)
nice, sounds like a start point :)

thanks. B.