coast-team / mute

a scalable collaborative document editor with CRDT, P2P and E2EE
https://mute.loria.fr/
GNU Affero General Public License v3.0
127 stars 17 forks source link

Make Offline-first #68

Closed kalitine closed 7 years ago

kalitine commented 7 years ago

Current behavior MUTE is distributed all at once (no lazy-loading) from the host like most of the website and web-applications. If the user is not connected to the Internet he is not able to get MUTE.

Expected behavior Once the user got MUTE from for example http://www.coedit.re, then he went offline and refresh the page, he is still able to load MUTE and use it normally (without collaboration of course).

What is the motivation / use case for changing the behavior? This is a particular useful feature for MUTE, because the application allow users to work alone on a document, then merge theirs modifications with other collaborators and, then again work alone and so on. Thus this feature puts in light this MUTE strength.

Tips Check: https://github.com/pazguille/offline-first

quentin-tardivon commented 7 years ago

Using sw-precache plugin to generate a Service-Worker.