Ember Service Worker Cache Fallback
An Ember Service Worker plugin that caches jsonapi requests and makes sure that
they are current in the background
Installation
ember install ember-service-worker-smart-jsonapi-caching
Configuration
The configuration is done in the ember-cli-build.js
file:
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
'esw-smart-jsonapi-caching': {
patterns: [
'/api/v1/(.+)',
],
version: '1'
}
});
return app.toTree();
};
Authors
Versioning
This library follows Semantic Versioning
Want to help?
Please do! We are always looking to improve this library. Please see our
Contribution Guidelines
on how to properly submit issues and pull requests.