Early Hints (2)

Last updated Sep 17, 2026 When a browser requests a page, the origin server takes time to prepare the full response. Early Hints uses this wait time to send the browser a preliminary 103 response containing Link headers that tell the browser which assets it will need. The browser can start loading those assets before the full response arrives, which speeds up page loads.

Early Hints is defined in RFC 8297 ↗︎ as a new HTTP status code (103 Early Hints). Cloudflare caches and serves these 103 responses with Link headers from your HTML pages, reducing user-perceived latency.

Note

Early Hints is currently only supported over HTTP/2 and HTTP/3.

For more information about Early Hints, refer to the Cloudflare ↗︎ and Google Chrome ↗︎ blogs.

Availability

Free Pro Business Enterprise
Availability Yes Yes Yes Yes

Enable Early Hints

  1. In the Cloudflare dashboard, go to the Speed > Settings page. Go to Settings ↗
  2. Go to the Content Optimization tab.
  3. For Early Hints, toggle the switch to On.

Generate Early Hints

Early Hints are only generated and cached:

  • For URIs with .html, .htm, or .php file extensions, or no file extension
  • On 200, 301, or 302 response return codes
  • When the response contains link headers ↗︎ with preconnect or preload rel types, such as Link: </img/preloaded.png>; rel=preload

Note

Early Hints cache entries are keyed by request URI and ignore query strings.

Emit Early Hints

Cloudflare will asynchronously look up and emit a cached 103 Early Hints response ahead of a main response.

Currently, only certain browser versions will take action to preload or preconnect on receiving Early Hints, such as Google Chrome M94 and higher. Instructions for running WebPageTest to experiment with compatible client browsers can be found in the blog post ↗︎.

Additionally, keep the following in mind:

  • Early Hints responses may be emitted before reaching the origin server or Worker. When Early Hints is enabled and pages on your site require authentication, unauthenticated visitors may receive a 103 response. The 103 response would contain cached Link headers and be sent before a 403 Forbidden response from your origin.
  • Early Hints may be emitted less frequently on requests where the content is cacheable. Cloudflare CDN is more likely to retrieve a response header before the asynchronous Early Hints lookup finishes if the response has been cached. Cloudflare will not send a 103 response if the main response header is already available.
  • Cloudflare currently disables Early Hints on some User-Agents, for example, select search crawler bots that show incompatibility with 1xx responses.
  • You may see an influx of 504 responses with ClientRequestSource: earlyHintsCache in Cloudflare Logs when Early Hints is enabled, which is expected and benign. Requests with this source are internal subrequests for cached Early Hints; they are neither end user requests, nor do they reach your origin. Their response status only indicates whether there are cached Early Hints for the request URI ( 200 on cache HIT, 504 on cache MISS). These requests are already filtered out in other views, such as Cache Analytics. To filter them out of Log Explorer, use ClientRequestSource != "earlyHintsCache". To filter using the GraphQL API, refer to Filter end users.

Was this helpful?

YesNo

On this page

Early Hints (2) - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cache/advanced-configuration/early-hints/#page","headline":"Early Hints","description":"Preload assets with 103 Early Hints to speed up page loads.","url":"https://developers.cloudflare.com/cache/advanced-configuration/early-hints/","inLanguage":"en","image":"https://developers.cloudflare.com/cache/advanced-configuration/early-hints/og.png?v=845d2a27de4785e2","dateModified":"2026-09-17","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Serve Google Fonts from your domain to improve privacy and performance. title: Cloudflare Fonts image: https://developers.cloudflare.com/speed/optimization/content/fonts/og.png?v=8b15ac297f30bdd4


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/speed/llms.txt
Use this file to discover all available pages before exploring further.