English
@vite-pwa/workbox-swkit/precaching
PackageDeclaration: @vite-pwa/workbox-swkit/precaching
Class Summary
| Type | Description |
|---|---|
| PrecacheController | Performs efficient precaching of assets. |
| PrecacheFallbackPlugin | PrecacheFallbackPlugin allows you to specify an "offline fallback" response to be used when a given strategy is unable to generate a response. |
| PrecacheRoute | A subclass of workbox-routing.Route that takes a workbox-precaching.PrecacheController instance and uses it to match incoming requests and handle fetching responses from the precache. |
| PrecacheStrategy | A workbox-strategies.Strategy implementation specifically designed to work with workbox-precaching.PrecacheController to both cache and fetch precached assets. |
Function Summary
| Name | Description |
|---|---|
| addPlugins | |
| addRoute | |
| cleanupOutdatedCaches | |
| createHandlerBoundToURL | |
| getCacheKeyForURL | |
| matchPrecache | |
| precache | |
| precacheAndRoute |
Interface Summary
| Type | Description |
|---|---|
| CleanupResult | |
| InstallResult | |
| Parallel | Controls parallel precaching of assets during service worker installation. When enabled, assets are fetched concurrently up to concurrency at a time instead of one by one. |
| PrecacheEntry | |
| PrecacheOptions | |
| PrecacheRouteOptions |
Type Alias Summary
| Name | Description |
|---|---|
| urlManipulation |