Open bates64 opened 6 years ago
Also @towerofnix if we ever end up doing openpgp we'll want to do it in a Worker-- i.e. another thread.
The serviceworkers branch has a bunch of work on this (particularly commit c5907ae8fd7a46b7173ec81aca318ac47b9e51a0), but I doubt any of that would merge well with master, plus the client is going to be rewritten (which means we'll need to rewrite the client code on that branch). I'll relabel this appropriately!
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API
Let's make
bantisocial
run offline! Service workers are the way we do that. They also allow us to trigger notifications and basically pretend we're an actual mobile app.