Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • jio jio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedinexedi
  • jiojio
  • Merge requests
  • !43

WIP serviceworker storage prototype

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Sven Franck requested to merge frequent/jio:serviceworker_storage into master Jan 27, 2017
  • Overview 0
  • Commits 1
  • Changes 3

A first implementation of jIO serviceworker storage. I use it with the serviceworker.js file I put into tests. A document is a cache (there can be multiple), files are attachments.

The storage just implements the jIO api using postmessage, the serviceworker file handles the incoming events and interacts with cache (not indexeddb). It does not hook into fetch to override the default way of requesting files, because I only use it as a pure storage, not a server replacement.

It's missing tests and I don't know which jslint rules to follow. I'll add those when feasible.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: serviceworker_storage
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7