Open farynaio opened 4 years ago
This is an interesting idea I hadn't considered before. My idea of doing "offline support" has always been to use web workers, which would effectively let org-web run the latest version of itself since it last had internet. That way org-web can start up again even if the page gets unloaded.
But this is a much simpler approach that still provides some value, I like it!
Is your feature request related to a problem? Please describe. This feature is meant to solve at least two problems:
These two issues make org-web quite useless and unreliable in offline mode.
Describe the solution you'd like The solution would be to use local storage to store every visited org file, so even if we would be in offline mode we could have all features available - other than sync of course.
At any time when the network will be available again, we would sync current state with remote one, as simple as that.
This solution will not cause any additional problems because the sync mechanism is already implemented, so we can piggyback on it.
Describe alternatives you've considered
Additional context none