Skip to content

Implement service worker (fix #218)

Nicolas Frandeboeuf requested to merge nicofrand/kresus:serviceworker into master

It is quite simple for now: requests are divided in 2 categories:

  • network first for all calls to the API as we want the results to be fresh and cache it then for offline use.
  • cache first for everything else, then fetch and store the updated result.

Merge request reports