Why

Service Worker Toolbox (or SW-Toolbox) provides some simple helpers for use in creating your own service workers. Specifically, it provides common caching patterns and an expressive approach to using those strategies for runtime requests. If you’re not sure what service workers are or what they are for, start with the explainer doc.

Install

Service Worker Toolbox is available through NPM, Bower or direct from GitHub:

npm install --save sw-toolbox

bower install --save sw-toolbox

git clone https://github.com/GoogleChrome/sw-toolbox.git