103

Early Hints

1xx Informational

Back to list

Server perspective

Use 103 when you can safely send helpful headers, especially Link hints, before the final response is ready.

When to use

  • Return 103 to advertise critical preload or preconnect work early
  • Use it only for hints that remain sensible even before the final response arrives

How to respond

  • Send the early hint headers first, then follow with the normal final response
  • Keep the hints consistent with the eventual page or representation

Headers to consider

  • Link
  • Content-Security-Policy

Response body

  • Do not include a response body in a 103 response

Server-side pitfalls

  • Do not expose sensitive or misleading hints before the final response is known
  • Do not overuse preloads that waste bandwidth or contention on the client

Examples

Preloading a critical script

Request:GET /app
Response:103 Early Hints with Link headers, then 200 OK with HTML

The server helps the browser begin fetching critical assets before the final payload arrives.

References

Related 1xx Informational Codes