
9/27/2022 · Matt Bullock, Sam Marsh
What this post added
This post introduces Origin Rules, a new product that allows for overriding the host header, Server Name Indication (SNI), destination port, and DNS resolution of matching HTTP requests. This directly addresses the complexity of routing traffic to different origins, especially for SaaS platforms and applications listening on non-standard ports, by providing a no-code solution that previously required custom code (Workers, Spectrum) or self-managed reverse proxies. It enhances cache management by enabling more sophisticated origin selection, including routing to cloud storage endpoints like S3-compatible buckets, and supports advanced use cases like A/B testing different cloud providers and routing users to the closest storage instance.