Supports-Loading-Mode header
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 insecure contexts (HTTPS), in some or allsupporting browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
The HTTPSupports-Loading-Moderesponse 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 |
|---|---|
| CORS-safelisted response header | No |
In this article
Syntax
Supports-Loading-Mode: <client-hint-headers>Directives
TheSupports-Loading-Mode header value is a list of one or more tokens, which can include the following values:
credentialed-prerenderExperimentalIndicates that a destination origin opts in to loading documents via cross-origin, same-siteprerendering.
fenced-frameExperimentalThe response can loaded inside afenced frame. Without this explicit opt-in, all navigations inside of a fenced frame will fail.
Examples
Supports-Loading-Mode: fenced-frameSpecifications
| Specification |
|---|
| Prerendering Revamped> # supports-loading-mode> |