Hierarchy

  • PrefetcherConfig

Properties

cacheHost?: string

An optional second domain from which to prefetch instead of the origin domain.

defaultMaxAgeSeconds?: number

The default time to live for prefetched requests that do not specify a cache({ browser: { serviceWorkerSeconds }}) config in the router.

plugins: WorkboxPlugin[]

Workbox plugins to use when handling a cacheable route.

skipAssets?: boolean

Set to true to ignore requests that are not 'document' or 'empty' (ie: audio, font, image, ...). This may help improve performance of sites when most assets are not cached.

Generated using TypeDoc