ServiceWorkerRegistration: navigationPreload property

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The navigationPreload read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.

The returned object allows resources managed by a service worker to be preemptively downloaded in parallel with service worker boot up.

Note: This feature is available in Web Workers

Value

An instance of NavigationPreloadManager.

Specifications

Specification
Service Workers
# service-worker-registration-navigationpreload

Browser compatibility

BCD tables only load in the browser