Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 639 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 639 Bytes

Build Progressive / Service Workers

Ready-to-use, documented Service Workers. These files try to be both ready-to-use examples & learning opportunities, so all code has a lot of comments.

Contents

A really straight-forward Service Worker that works perfectly fine for small sites and blogs.

It will serve all static assets from cache if they're available (with a fallback to the network). For HTML pages, it will always try to go over the network, but use the cache as a fallback.