It's online. It's offline. It's a Service Worker!
Service workers are a new technology to aid developers in:
- creating realistic, reliable offline experiences
- vastly improving performance when online
- logically and dynamically caching files for any purpose
The ServiceWorker API, which has recently made its way into Firefox Developer Edition, will change the way web and mobile app developers make their websites fast and functional!
This cookbook contains dozens of practical, detailed, and working examples of service worker usage. These examples are for developers from beginner to expert and illustrate a number of APIs:
- Clone this repository
cd serviceworker-cookbook && npm install
- Create a directory structure similiar to the other recipes
gulp watch
- Navigate to http://localhost:3000
- https://github.com/GoogleChrome/samples/tree/gh-pages/service-worker
- https://github.com/jakearchibald/isserviceworkerready/tree/gh-pages/demos
- https://github.com/phamann/embrace-the-network
MealKeeper Icon by Shlyapnikova, Creative Commons (Attribution 3.0 Unported)