Content-type: text/html Downes.ca ~ Stephen's Web ~ Add a Service Worker to Your Site

Stephen Downes

Knowledge, Learning, Community

If you have been reading about Accelerated Mobile Pages (AMP), something Google uses to make mobile web sites work a bit better, then you may have seen them reference 'service workers'. This is the Javascript behind the scenes that does the heavy lifting. Service workers are called every time the page makes a request, and are used to support caching and even offline browser applications. This article describes how services workers work and how to create one for yourself.

Today: 5 Total: 1092 [Direct link] [Share]


Stephen Downes Stephen Downes, Casselman, Canada
stephen@downes.ca

Copyright 2024
Last Updated: Apr 24, 2024 9:18 p.m.

Canadian Flag Creative Commons License.

Force:yes