Supports-Loading-Mode
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The HTTP Supports-Loading-Mode
response header allows a response to opt-in to being loaded in a novel, higher-risk context that it would otherwise fail to be loaded in.
Header type | Response header |
---|---|
Forbidden header name | No |
CORS-safelisted response header | No |
Syntax
Supports-Loading-Mode: <client-hint-headers>
Directives
The Supports-Loading-Mode
header value is a list of one or more tokens, which can include the following values:
credentialed-prerender
Experimental-
Indicates that a destination origin opts in to loading documents via cross-origin, same-site prerendering.
fenced-frame
-
The response can loaded inside a fenced frame. Without this explicit opt-in, all navigations inside of a fenced frame will fail.
Examples
Supports-Loading-Mode: fenced-frame
Specifications
Specification |
---|
Prerendering Revamped # supports-loading-mode |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Supports-Loading-Mode | ||||||||||||
credentialed-prerender directive | ||||||||||||
fenced-frames directive |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.