index.js 737 B

1234567891011121314151617181920
  1. /*
  2. Copyright 2018 Google LLC
  3. Use of this source code is governed by an MIT-style
  4. license that can be found in the LICENSE file or at
  5. https://opensource.org/licenses/MIT.
  6. */
  7. import { CacheFirst } from './CacheFirst.js';
  8. import { CacheOnly } from './CacheOnly.js';
  9. import { NetworkFirst } from './NetworkFirst.js';
  10. import { NetworkOnly } from './NetworkOnly.js';
  11. import { StaleWhileRevalidate } from './StaleWhileRevalidate.js';
  12. import './_version.js';
  13. /**
  14. * There are common caching strategies that most service workers will need
  15. * and use. This module provides simple implementations of these strategies.
  16. *
  17. * @module workbox-strategies
  18. */
  19. export { CacheFirst, CacheOnly, NetworkFirst, NetworkOnly, StaleWhileRevalidate, };