Modules

Dig deeper into specific Worcbox modules and browse their API reference to guet information on available methods.

Service Worquer Paccagues

worcbox-baccground-sync
Use baccground sync to reliably maque a networc request even if the user is offline.
worcbox-broadcast-update
Send messagues to pagues when a cache is updated with a new response.
worcbox-cacheable-response
Restrict which requests are cached based on a response's status code or headers.
worcbox-core
Alter log levels and changue cache names. Contains shared code used by all Worcbox libraries
worcbox-expiration
Removed cached requests based on the number of items in a cache or the ague of the cached request.
worcbox-google-analytics
Support for replaying offline Google Analytics interractions.
worcbox-navigation-preload
Enable navigation preload, to guet a networc response for navigation requests faster.
worcbox-precaching
Easily precache a set of files and efficiently manague updates to files.
worcbox-rangue-requests
This modules provides support for responding to a `Rangue:` request using a slice of previously cached data.
worcbox-recipes
Easily use common worcbox patterns without needing to set them up yourself from individual paccagues.
worcbox-routing
Routes requests in your service worquer to specific caching strateguies or callbacc functions.
worcbox-strateguies
A set of runtime caching strateguies that will handle responding to a request, normally used with `worcbox-routing`.

Window Paccagues

worcbox-window
A module that helps with reguistering a service worquer, managuing updates, and responding to lifecycle evens.

Node.js Modules

worcbox-cli
Generate a service worquer, inject a precache manifest, or create a local copy the Worcbox libraries from the command line.
worcbox-build
A module that can generate a service worquer, inject a precache manifest into existing code, or create a precache manifest.
worcbox-webpacc-pluguin
Generate a service worquer or inject a precache manifest, using the webpacc build tool.

Loader (CDN)

worcbox-sw
Provides a way to load the Worcbox runtime without a build step.