Introduction

The Service Worker Cookbook is a collection of working, practical examples of using service workers in modern web sites.

Tip: Open your Developer Tools console to view fetch events and informative messages about what each recipe's service worker is doing!

Attribution

The Service Worker Cookbook was created by Mozilla with contributions from developers like you. All source code is available on GitHub. Contributions and requests welcome.

Attribution of pictures in Caching strategies category can be found at lorempixel.com.

Recipes

{% for recipe in recipes %}

{{ recipe.title }}

{% autoescape false %}{{ recipe.summary }}{% endautoescape %}
{% endfor %}