Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
jio jio
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 18
    • Merge requests 18
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedi
  • jiojio
  • Merge requests
  • !43

Open
Created Jan 27, 2017 by Sven Franck@frequentDeveloper
  • Report abuse
Report abuse

WIP serviceworker storage prototype

  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: serviceworker_storage
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7