| 1 | /*
|
|---|
| 2 | Copyright 2018 Google LLC
|
|---|
| 3 |
|
|---|
| 4 | Use of this source code is governed by an MIT-style
|
|---|
| 5 | license that can be found in the LICENSE file or at
|
|---|
| 6 | https://opensource.org/licenses/MIT.
|
|---|
| 7 | */
|
|---|
| 8 | import { addPlugins } from './addPlugins.js';
|
|---|
| 9 | import { addRoute } from './addRoute.js';
|
|---|
| 10 | import { cleanupOutdatedCaches } from './cleanupOutdatedCaches.js';
|
|---|
| 11 | import { createHandlerBoundToURL } from './createHandlerBoundToURL.js';
|
|---|
| 12 | import { getCacheKeyForURL } from './getCacheKeyForURL.js';
|
|---|
| 13 | import { matchPrecache } from './matchPrecache.js';
|
|---|
| 14 | import { precache } from './precache.js';
|
|---|
| 15 | import { precacheAndRoute } from './precacheAndRoute.js';
|
|---|
| 16 | import { PrecacheController } from './PrecacheController.js';
|
|---|
| 17 | import { PrecacheRoute } from './PrecacheRoute.js';
|
|---|
| 18 | import { PrecacheStrategy } from './PrecacheStrategy.js';
|
|---|
| 19 | import { PrecacheFallbackPlugin } from './PrecacheFallbackPlugin.js';
|
|---|
| 20 | import './_version.js';
|
|---|
| 21 | /**
|
|---|
| 22 | * Most consumers of this module will want to use the
|
|---|
| 23 | * {@link workbox-precaching.precacheAndRoute}
|
|---|
| 24 | * method to add assets to the cache and respond to network requests with these
|
|---|
| 25 | * cached assets.
|
|---|
| 26 | *
|
|---|
| 27 | * If you require more control over caching and routing, you can use the
|
|---|
| 28 | * {@link workbox-precaching.PrecacheController}
|
|---|
| 29 | * interface.
|
|---|
| 30 | *
|
|---|
| 31 | * @module workbox-precaching
|
|---|
| 32 | */
|
|---|
| 33 | export { addPlugins, addRoute, cleanupOutdatedCaches, createHandlerBoundToURL, getCacheKeyForURL, matchPrecache, precache, precacheAndRoute, PrecacheController, PrecacheRoute, PrecacheStrategy, PrecacheFallbackPlugin, };
|
|---|
| 34 | export * from './_types.js';
|
|---|