Skip to content
An Ember Service Worker plugin that catches failed mutation requests e.g POST, PUT, DELETE and queues them for background processing.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
service-worker
.eslintrc.js
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

ember-service-worker-enqueue

An Ember Service Worker plugin that catches failed mutation requests e.g POST, PUT, DELETE and queues them for background processing.

It uses Mozilla’s localforage db wrapper to enqueue mutation requests that failed either because of a failed network e.g Flacky networks or Offline mode, or server errors to perform the operations once the connection is regained and/or periodically until it succeeds.

Currently, many configuration options are hard-coded e.g expected location of localforage.min.js but I'll update it soon.

Enjoy!

You can’t perform that action at this time.