workbox-navigation-preload
Methods
disable
disable()
If the browser supports Navigation Preload, then this will disable it.
enable
enable(headerValue)
If the browser supports Navigation Preload, then this will enable it.
Parameter |
|
---|---|
headerValue |
Optional string Optionally, allows developers to
override
the value of the |
isSupported
isSupported() returns boolean
- Returns
-
boolean
Whether or not the current browser supports enabling navigation preload.