The value for the
<link rel="prefetch|preload"> element's
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link. Use "fetch" for html pages as Safari doesn't support "document".
The attribute whose value should be prefetched. Defaults to
A callback to override the default prefetching logic. Will be called for each matching element,
maxMatches is provided, the first n elements.
Whether the asset is served cross-origin with CORS response headers. A cross-origin request with
no CORS response headers can not be processed by the service-worker. If set to
false, the asset will be
prefetched without being cached by the service-worker. Defaults to
The max number of matching elements to prefetch per page
The CSS selector to use when finding elements whose src or href should be deep fetched
Generated using TypeDoc