Didn't make the #ChromeDevSummit this year? Catch all the content (and more!) in the Chrome Dev Summit 2019 playlist on our Chrome Developers YouTube Channel.

Service Worker Libraries

Below is the list of service worker libraries that Workbox provides. Each library serves a specific need and can be used together or on its own.


Manages loading modules as needed & provides helper methods.


Alter log levels and change cache names via workbox.core. Contains shared code used by all Workbox libraries.


Easily precache a set of files and efficiently manage updates to files.


Routes requests in your service worker to specific caching strategies or callback functions.


A set of runtime caching strategies that will handle responding to a request, normally used with workbox.routing.


Removed cached requests based on the number of items in a cache or the age of the cached request.


Use background sync to reliably make a network request even if the user is offline.


See how users are interacting with your site when they are offline.


Restrict which requests are cached based on a response's status code or headers.


Send messages to pages (via Broadcast Channels) when a cache is updated with a new response.


This modules provides support for responding to a Range: request using a slice of previously cached data.


This modules provides support for composing a response from a series of streaming sources.


Enable navigation preload, to get a network response for navigation requests faster.

Window Modules

Workbox provides modules that run in the window context and complement the service worker modules.


A module that helps with registering a service worker, managing updates, and responding to lifecycle events.

Node Modules

Workbox provides a set of Node modules that make it easy to generate a list of files to precache in your service worker or create a complete service worker that you can use without writing any code.

Workbox CLI

Generate a complete service worker, inject a precache manifest or copy the Workbox files from the command line.


An npm module that can generate a complete service worker, inject a precache manifest and copy the Workbox files.


As part of your Webpack build process add Workbox and precache assets.