Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
/ serviceworker-cookbook Public archive

It's online. It's offline. It's a Service Worker!

License

Notifications You must be signed in to change notification settings

mdn/serviceworker-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServiceWorker Cookbook

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!

What is in this cookbook?

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:

How to contribute

  1. Clone this repository
  2. cd serviceworker-cookbook && npm install
  3. Create a directory structure similiar to the other recipes
  4. gulp watch
  5. Navigate to http://localhost:3000

Similar projects & prior art

Attributions

MealKeeper Icon by Shlyapnikova, Creative Commons (Attribution 3.0 Unported)