We've moved discussions to Discord

Offline Mode?

Dan Tappin
Does anyone have experience making an Rails app work offline - i.e. sync the remote data, update while offline, and then sync back to the cloud when back online?
Chris Oliver
I have not. I know you have to setup a service worker for it, but you'd also need to cache views and things which I think would be fairly complicated. Would love to know more about how to do that, but I've only ever done a simple offline mode tutorial like this: https://rossta.net/blog/offline-page-for-your-rails-application.html
Ugurcan Kaya
Google has workbox.js to create offline apps but never tried with rails. It handles a lot of caching.

https://developers.google.com/web/tools/workbox
Notifications
You’re not receiving notifications from this thread.