Cache Management
Cloudflare Pages gets even faster with Early Hints

Cloudflare Pages gets even faster with Early Hints

10/7/2022 · Greg Brimble

What this post added

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.

Read the original post ↗