Transform Rules:"Requests, Transform and Roll Out!"
Cloudflare's Transform Rules allow users to modify HTTP/HTTPS requests without using Cloudflare Workers. This feature is useful for normalizing URLs, rewriting URL paths and queries, and modifying headers based on different conditions and logic. The rules cover three main areas: URL Normalization, URL Rewrite, and Header Modify. URL Normalization transforms encoded URLs to a standard format before applying security features, while URL Rewrite allows for both static and dynamic rewrites of the URL's path and/or query string. Header Modify enables users to add or remove static or dynamic headers based on various attributes of the request. These rules can be easily configured without requiring any scripts, offloading the heavy lifting from origin servers.
Company
Cloudflare
Date published
July 7, 2021
Author(s)
Ming Xue
Word count
1297
Hacker News points
None found.
Language
English