Cloudflare

Cloudflare Pages gets even faster with Early Hints

Oct 7, 2022Greg Brimble
Cloudflare Pages gets even faster with Early Hints
SummaryAI, from the source post

This post introduces the integration of Early Hints with Cloudflare Pages. It explains how Early Hints work by sending `preload` and `preconnect` Link headers as a 103 Early Hints response before the full HTML response, allowing browsers to start loading critical resources sooner. The post details performance testing results showing significant reductions in LCP and document load times. It also explains how to enable Early Hints on Pages, including automatic support for `pages.dev` domains and manual enablement for custom domains, as well as the ability to transform `<link>` HTML elements into `Link` headers.

More from the Cache Management trail