Spotlight

Case Study Microsoft

How Microsoft scaled global content delivery

Find out how Microsoft used Gcore to strengthen delivery across regions.

case study ProSieben GNTM app TOPSHOT

How ProSieben scaled GNTM's app TOPSHOT

Explore how ProSieben brought real-time AI portraits to GNTM's audience.

case study Higgsfield

How Higgsfield scaled AI video generation

See how Gcore helped Higgsfield scale with GPUs and Managed Kubernetes.

case study Fawkes Games

How Fawkes Games stopped DDoS attacks

See how Gcore protected gaming servers from massive DDoS threats without disrupting gameplay.

We're hiring

Help build the next chapter of the web

We're not just filling seats. We're building a team that will write the next chapter of the internet.

  1. Home
  2. Blog
  3. Introducing FastEdge Triggers: real-time edge logic
Network

Introducing FastEdge Triggers: real-time edge logic

  • June 16, 2025
  • 3 min read
Introducing FastEdge Triggers: real-time edge logic

When you're building real-time applications, whether for streaming platforms, SaaS dashboards, or security-sensitive services, you need content that adapts on the fly. Blocking suspicious IPs, injecting personalized content, transforming media on the edge—these should be fast, scalable, and reliable.

Until now, they weren't.

Developers and technical teams often had to work across multiple departments to create brittle, hardcoded solutions. Each use case, like watermarking video or rewriting headers, required a custom integration. There was no easy way to run logic dynamically at the edge. That changes with FastEdge Triggers.

Real-time logic, built into the edge

FastEdge Triggers let you execute custom serverless logic at key moments in the HTTP lifecycle:

  • on_request_headers
  • on_request_body
  • on_response_headers
  • on_response_body

FastEdge is built on the proxy-wasm standard, making it easy to adapt existing proxy-wasm applications (e.g., for Envoy or Kong) for use with Gcore. These trigger types align directly with proxy-wasm conventions, meaning less friction for developers familiar with modern proxy architectures.

This means that you can now:

  • Authenticate users' tokens, such as JWT
  • Block access by IP, region, or user agent
  • Inject CSS, HTML, or JavaScript into responses
  • Transform images or convert markdown to HTML before delivery
  • Add security tokens or watermarks to video content
  • Rewrite or sanitize request headers and bodies

No backend round-trips. No manual routing. Just real-time, programmable edge behavior, backed by Gcore's global infrastructure.

While FastEdge enables instant logic execution at the edge, response-stage triggers (on_response_headers and on_response_body) naturally depend on receiving data from the origin before acting. Even so, transformations happen at the edge, reducing backend load and improving overall efficiency.

Our architecture means that FastEdge logic is executed in ultra-low-latency environments, tightly coupled with CDN. Triggers can be layered across multiple stages of a request without performance degradation.

Built for developers

FastEdge Triggers were built to solve three core pain points for technical teams:

  • Hard to scale: Custom logic used to require bespoke, team-specific workarounds
  • Hard to maintain: Even single-team solutions became brittle without proper edge infrastructure
  • Limited flexibility: Legacy CDN logic couldn't support complex, dynamic behavior

With FastEdge, developers have full control: no DevOps bottlenecks, no workarounds, no compromises. Logic runs at the edge, not your origin, minimizing backend exposure. FastEdge apps execute in isolated, sandboxed environments, reducing the risk of vulnerabilities that might otherwise be introduced when logic runs on central infrastructure.

How it works behind the scenes

Each FastEdge application is written in Rust or AssemblyScript and connected to the HTTP request lifecycle through Gcore's configuration interface. Apps are linked to trigger types through the CDN resource settings page in the Gcore Customer Portal.

Gcore Customer Portal UI screenshot, showing how to configure FastEdge Triggers
Configuring FastEdge Triggers from the CDN resource settings screen in the Gcore Customer Portal

Here's what happens under the hood:

  1. You assign a FastEdge app to a trigger point.
  2. Our Core Proxy detects that trigger and automatically routes execution through your custom logic.
  3. The result is returned before hitting cache or origin, modified, enriched, and secured.

This flow is deeply integrated with our CDN service, delivering minimal latency with zero friction.

Gcore FastEdge Triggers sequence diagram
A sequence diagram showing how FastEdge Triggers works under the hood 

A real-life use case: markdown to HTML at the edge

Here's a real-world example that shows how FastEdge Triggers can power multi-step content transformation without a single backend server.

One customer wanted to serve Markdown-based documentation as styled HTML, without spinning up infrastructure. Using this FastEdge app written in Rust, they achieved just that.

  • The app listens at three trigger points: on_request_headers, on_response_headers, and on_response_body
  • It detects requests for .md files and converts them on the fly
  • The HTML is served directly via CDN, no origin compute required


You can see it live here:

  • README rendered
  • Terraform docs rendered


This use case showcases FastEdge's ability to orchestrate multi-stage logic at the edge: ideal for serverless documentation, lightweight rendering, or content transformation pipelines.

Ready to build smarter at the edge?

FastEdge Triggers are available now for all FastEdge customers. If you're looking to modernize your edge logic, simplify architecture, and ship faster with fewer backend dependencies, FastEdge is built for you.

Reach out to your account manager or contact us to activate FastEdge Triggers in your environment.

Try Fastedge Triggers

Try Gcore Network

Gcore all-in-one platform: cloud, AI, CDN, security, and other infrastructure services.

Related articles

A digital dashboard displays various data visualizations and the collaboration text 'Gcore x AVEQ'.
When the numbers lie: A CDN diagnostics case study

Real streaming problems rarely show up with a label on them. The broadcaster's ops team is fielding complaints. A dashboard glows with elevated stall counts. Meanwhile the CDN logs look perfectly healthy — latency is nominal, cache hits are

Sifted 100 France & Benelux 2026 announcement with falling confetti and spotlights.
Gcore named in Sifted Top 100 France & Benelux 2026

Gcore has been recognized as one of the top 100 fastest-growing technology startups in France and Benelux by Sifted — one of Europe's leading tech publications. Our inclusion in the B2B SaaS & Cloud Infrastructure category points to ris

World Cup 2026 Streaming Roundup text with a stylized soccer stadium and ball.
How various audiences viewed the World Cup via Gcore

Gcore's content delivery network (CDN) was the backbone behind many broadcasters and live streams at the recent 2026 World Cup, and we observed some interesting stats on how tournament viewing habits differed across the five regions where w

Two founders discuss Melious AI moving its CDN and DNS to Gcore.
Why Melious AI moved its CDN and DNS to Gcore: a founder conversation about sovereign AI in Europe

For many startups, infrastructure decisions are mostly about performance, pricing, and developer experience. For Melious AI, they are also about trust.Melious AI is a German startup building a European AI platform around privacy, transparen

Four e-commerce takeaways from the Berlin Expo

E-commerce is moving fast — and the conversations at E-commerce Berlin Expo reflected just how much has changed in the last few years.Now that the event is over, here are four things I took away from speaking with key players across the ind

Gcore partners with AVEQ to elevate streaming performance monitoring

At Gcore, delivering exceptional streaming experiences to users across our global network is at the heart of what we do. We're excited to share how we're taking our CDN performance monitoring to new heights through our partnership with AVEQ

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.