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

推荐订阅源

WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Visual Studio Blog
宝玉的分享
宝玉的分享
IT之家
IT之家
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
I
InfoQ
B
Blog RSS Feed
T
Threatpost
博客园_首页
M
MIT News - Artificial intelligence
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Know Your Adversary
Know Your Adversary
U
Unit 42
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
月光博客
月光博客
Scott Helme
Scott Helme
T
Tor Project blog
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
S
Schneier on Security
Vercel News
Vercel News
博客园 - Franky
C
Cybersecurity and Infrastructure Security Agency CISA
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
L
LangChain Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
Latest news
Latest news
C
CXSECURITY Database RSS Feed - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
S
Security Affairs
A
About on SuperTechFans
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
大猫的无限游戏
大猫的无限游戏
W
WeLiveSecurity
Cisco Talos Blog
Cisco Talos 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.