Interim response carrying Link headers so the browser can preload or preconnect before the final response is ready.
103 Early Hints (RFC 8297) lets a server, or a CDN in front of it, send Link: rel=preload and rel=preconnect headers while the application is still building the page. The browser starts fetching CSS, fonts or connecting to third-party origins during "server think time", which improves Largest Contentful Paint. The final 200 follows on the same request.
early_hints, H2O, Node.js response.writeEarlyHints(), Rails).| Header | Role |
|---|---|
Link | Resources to preload or origins to preconnect, e.g. </style.css>; rel=preload; as=style. |
HTTP/1.1 103 Early Hints
Link: </style.css>; rel=preload; as=style
Link: <https://cdn.example.com>; rel=preconnect
HTTP/1.1 200 OK
Content-Type: text/html