2019/Düsseldorf/localfirst

From IndieWeb

Local First was a session at IndieWebCamp Düsseldorf 2019.

Notes archived from: https://etherpad.indieweb.org/localfirst


IndieWebCamp Düsseldorf 2019
Session: Local First at lunch
When: 2019-05-11 14:15

Participants

Notes

local first - like text editors. no latency no netwok acess

  • go to a site once = install an app

The rest of the time you can work offline

Using

  • Service Worker
  • Local Storage

Foreground sync, while browser is open, syncs the user's data to their server

Background sync, even if browser is closed, you can be setup to be activated when network is available and then sync user data to the server

  • Background Sync API enables this
  • can only use async APIs

See Also