Custom Headers for Cloudflare Pages
Cloudflare Pages now natively supports custom headers on your projects. This feature allows developers to set custom headers for various use cases, such as Search Engine Optimization (SEO), security configurations, and Cross-Origin Resource Sharing (CORS). Custom headers can be defined in a _headers file within the build directory of a project. The new engine built to support these custom headers also enhances redirects configuration with splats, placeholders, and status codes.
Company
Cloudflare
Date published
Oct. 27, 2021
Author(s)
Nevi Shah, Greg Brimble
Word count
835
Language
English
Hacker News points
8