source: frontend/node_modules/workbox-precaching/src/index.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.5 KB
Line 
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
9import {addPlugins} from './addPlugins.js';
10import {addRoute} from './addRoute.js';
11import {cleanupOutdatedCaches} from './cleanupOutdatedCaches.js';
12import {createHandlerBoundToURL} from './createHandlerBoundToURL.js';
13import {getCacheKeyForURL} from './getCacheKeyForURL.js';
14import {matchPrecache} from './matchPrecache.js';
15import {precache} from './precache.js';
16import {precacheAndRoute} from './precacheAndRoute.js';
17import {PrecacheController} from './PrecacheController.js';
18import {PrecacheRoute} from './PrecacheRoute.js';
19import {PrecacheStrategy} from './PrecacheStrategy.js';
20import {PrecacheFallbackPlugin} from './PrecacheFallbackPlugin.js';
21
22import './_version.js';
23
24/**
25 * Most consumers of this module will want to use the
26 * {@link workbox-precaching.precacheAndRoute}
27 * method to add assets to the cache and respond to network requests with these
28 * cached assets.
29 *
30 * If you require more control over caching and routing, you can use the
31 * {@link workbox-precaching.PrecacheController}
32 * interface.
33 *
34 * @module workbox-precaching
35 */
36
37export {
38 addPlugins,
39 addRoute,
40 cleanupOutdatedCaches,
41 createHandlerBoundToURL,
42 getCacheKeyForURL,
43 matchPrecache,
44 precache,
45 precacheAndRoute,
46 PrecacheController,
47 PrecacheRoute,
48 PrecacheStrategy,
49 PrecacheFallbackPlugin,
50};
51
52export * from './_types.js';
Note: See TracBrowser for help on using the repository browser.