惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Y
Y Combinator Blog
Recorded Future
Recorded Future
博客园 - Franky
I
InfoQ
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
雷峰网
雷峰网
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Cloudbric
Cloudbric
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Check Point Blog
爱范儿
爱范儿
The GitHub Blog
The GitHub Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
U
Unit 42
N
Netflix TechBlog - Medium
The Cloudflare Blog
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
T
Troy Hunt's Blog
Engineering at Meta
Engineering at Meta
H
Heimdal Security Blog
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tenable Blog
B
Blog
S
Securelist
H
Hacker News: Front Page
Google Online Security Blog
Google Online Security Blog
G
Google Developers Blog

Fastly Blog

Fastly Fastly Fastly Fastly Fastly Fastly Fastly Fastly Fastly Six Common Live Streaming Mistakes (And How to Avoid Them) How Fastly and Skyfire Enable Trusted Agentic Commerce at the Edge Bot Defense is Table Stakes. Machine Traffic Requires a Business Strategy AI Traffic Grew 6.5x Faster Than Human Traffic This Year Python SDK Beta: How the Language of AI Runs Faster and Safer with Fastly Give AI Agents the Markdown They Actually Want How to Configure Local Logging for an On-Prem Next-Gen WAF Agent Accountability Without Control Is Breaking Security Leadership Fastly Joins the Agentic AI Foundation (AAIF) to Guide Edge AI Interoperability The E-commerce Industry in the AI Era: Has the Agentic Flood Hit? No Margin for Error: What the FIFA World Cup Teaches Us About Performance at the Edge Why iGaming Infrastructure is Breaking and What Comes Next The Publishing Industry in the AI Era: Why Bot Strategy is Now a Business Strategy Bad Performance Kills SaaS/PaaS Growth — Why Your CDN Matters Why your code is safe from Copy Fail on Fastly Compute Myth or Marvel: Claude Mythos and What it Means for Security Introducing Compliance Audit Reports Supporting Google Private AI Compute with Privacy-Preserving Edge Infrastructure Fastly Nearly Half the Web Isn’t Human: Inside Fastly’s Threat Insight Report Media over QUIC: Can Streaming Finally Have Both Scale and Low Latency? Introducing Fastly’s Redesigned Homepage: Your Central Hub for Actionable Insights The False Choice of Indiscriminate Blocking: Why Technical Precision is the New Standard for an Open Internet What is CVE-2026-23869? React Server Components Security Alert Fastly enables first-party tagging for Google Advertisers Shrink Your Bill With Efficient Software Your AI coding agent just got better at Fastly Fastly Ranked as a Leader in the 2026 Forrester Wave™ for Edge Development Platforms Fastly at RSAC 2026: New Advances in AppSec, Bot Management, and Deception Mastering the Edge: What Golf Can Teach Us About Speed, Precision, and Performance Real-Time CDN Monitoring for Live Events with Bronto Imperva Alternatives Fastly + Scalepost: Extending the Fastly platform to manage AI Crawlers Best content delivery networks for bot management Vibe Shift? Senior Developers Ship nearly 2.5x more AI Code than Junior Counterparts Maximizing Compute Performance with Log Explorer & Insights Fastly CDN Expands Scaling Fastly Network: Balancing Requests | Fastly Best Practices for Multi-CDN Implementations | Fastly Compute@Edge: Serverless Insights by Company | Fastly Fastly can teach you about the Wasm future in just 6 talks Fastly's Observability Unleashed: New Updates and Insights Optimizing your multi-CDN infrastructure to improve performance Stay ahead of attackers by pushing your security perimeter to the edge Are APIs the Key to Digital Innovation or a Trojan Horse? Fastly Academy: on-demand learning at your fingertips. | Fastly 30 Years of Web: Building for Tomorrow 4 Ways Legacy WAF Fails to Protect Your Apps Adobe boosts performance and MTTR with Epsagon and Fastly logs | Fastly Beta" A New Serverless Compute Environment Early TLS at Fastly Technical trainings & the future of edge delivery at Altitude 2016: a year in review Innovation Capacity Defined: Tech Stack Values | Fastly Deep Log Visibility Offered by Logentries | Fastly Caching the Uncacheable: CSRF Security Increase Your Hit Ratio With This Simple Tip
Fastly
Shane Burgess · 2026-06-30 · via Fastly Blog

Modern applications don't live at a single origin. You've got API servers, static assets, auth services, media pipelines, each needing traffic to route correctly. Getting there meant complex configuration: multiple domains, custom VCL, compute code sitting in front of your origin, or the use of service chaining.

Request Routing can simplify this for you.

One Domain, Multiple Services

With Request Routing, you define path-based rules on any domain in our Domain Management system, and we send each request to the right service automatically, no custom code required.

Host your marketing pages on a static CDN, your API on a containerized backend, and your media files on object storage, all under one domain. Route /api/* to your app server, /assets/* to S3, /auth/* to your identity provider, clean, fast, and entirely declarative.

Use Cases

  • Microservices Orchestration: Route different API versions to specific legacy or modern services.

  • Geographic Localization: Direct users from specific countries to localized origin servers to reduce latency.

  • A/B Testing & Canary Deploys: Use header-based matching to route a percentage of traffic to staging or beta services.

How It Works

Route configurations live under the Domains top-level navigation in your dashboard. You can create sophisticated rules using three primary condition types. Our first release will only support headers, but the other condition types are coming soon. 

  • Header: Match based on HTTP headers like API versions or User-Agents.

  • Geo: Route traffic based on the user's geographic location, such as country codes.

  • IP: Filter and route based on specific IP addresses or ranges.

For this release, you can check whether a header value starts_with, ends_with, equals, or contains a given string. Every path can define multiple rules, and each rule has an associated action. The action determines what happens when/if a condition is matched. For the initial release we're providing a 'service' action that takes a Service ID as its value (we have plans for other action types, coming soon).Every path requires a default action, a fallback route for when no rules match.

Here's a simple example of routing traffic based on the User-Agent request header:

Route configuration:
  Path: /example
    Rule:
      Condition: header User-Agent starts_with "Mozilla/5.0"
      Action: route to service-A
    Rule:
      Condition: header User-Agent starts_with "Mozilla/4.0"
      Action: route to service-B
    Default: route to service-C

The system evaluates requests to /example top-to-bottom. The first matching rule wins; anything that does not match any condition falls through to the default.

The Draft-to-Deploy Workflow

Request Routing ensures safety and increases developer velocity by following a streamlined "Draft-to-Deploy" workflow:

  1. Draft: When you start an edit, we automatically create a draft by cloning your active configuration.

  2. Configure: Add paths and define rules. Each route configuration supports up to 10,000 paths, 20 rules per path, and 5 conditions per rule.

  3. Preview: Use the Structured Diff API endpoint or UI to review exactly what changes you made before going live.

  4. Activate: Deploy your changes to the edge with a single call. Strict validation ensures every path has a fallback rule.

  5. Rollback: We store the last five active versions, allowing for near-instant rollbacks to a known-good state.

Get Started

Request Routing is available now on all plans. Head to your dashboard to create your first configuration, or read the documentation for rule syntax, wildcard matching, and advanced options.

Building something interesting with it? Share it on the Fastly community or drop us a line at Fastly Support.