UNPKG

1.33 kBTypeScriptView Raw
1import { addPlugins } from './addPlugins.js';
2import { addRoute } from './addRoute.js';
3import { cleanupOutdatedCaches } from './cleanupOutdatedCaches.js';
4import { createHandlerBoundToURL } from './createHandlerBoundToURL.js';
5import { getCacheKeyForURL } from './getCacheKeyForURL.js';
6import { matchPrecache } from './matchPrecache.js';
7import { precache } from './precache.js';
8import { precacheAndRoute } from './precacheAndRoute.js';
9import { PrecacheController } from './PrecacheController.js';
10import { PrecacheRoute } from './PrecacheRoute.js';
11import { PrecacheStrategy } from './PrecacheStrategy.js';
12import { PrecacheFallbackPlugin } from './PrecacheFallbackPlugin.js';
13import './_version.js';
14/**
15 * Most consumers of this module will want to use the
16 * {@link workbox-precaching.precacheAndRoute}
17 * method to add assets to the cache and respond to network requests with these
18 * cached assets.
19 *
20 * If you require more control over caching and routing, you can use the
21 * {@link workbox-precaching.PrecacheController}
22 * interface.
23 *
24 * @module workbox-precaching
25 */
26export { addPlugins, addRoute, cleanupOutdatedCaches, createHandlerBoundToURL, getCacheKeyForURL, matchPrecache, precache, precacheAndRoute, PrecacheController, PrecacheRoute, PrecacheStrategy, PrecacheFallbackPlugin, };
27export * from './_types.js';