The Service-Worker-Navigation-Preload
request header indicates that the request was the result of a fetch()
operation made during service worker navigation preloading. It allows a server to respond with a different resource than for a normal fetch()
.
If a different response may result from setting this header, the server must set Vary: Service-Worker-Navigation-Preload
to ensure that the different responses are cached.
For more information see NavigationPreloadManager.setHeaderValue()
(and NavigationPreloadManager
).
Header type | Request header |
---|---|
Forbidden header name | no |