Edge Functions overview

Experimental Feature

This experimental feature is available to try out before it’s fully released or ready for production. We recommend using it in non-critical sites and non-production environments only. Learn more in our Netlify Labs doc.

Edge Functions connect the Netlify platform and workflow with an open runtime standard at the network edge. This enables you to build fast, personalized web experiences with an ecosystem of development tools.

Using JavaScript and TypeScript, you can modify network requests to localize content, serve relevant ads, authenticate visitors, A/B test content, and much more. Edge Functions also support a new generation of edge-first web frameworks allowing your entire app to run at the edge, dramatically increasing performance.

All this dynamic processing happens in a secure runtime based on Deno directly from the worldwide network edge location closest to each user. With Netlify, your edge functions are version-controlled, built, and deployed along with the rest of your Netlify site. This eliminates overhead and brings the power of Deploy Previews and rollbacks to your edge functions.

# Use cases

To learn more about what’s possible with Edge Functions, explore the following.

Reference examples of common patterns:

Framework-specific examples:

# Documentation

To learn how to create your own edge functions, check out the documentation.

  • Get started: basic hello world example that covers testing, deploying, invoking, and monitoring an edge function.
  • Edge Functions API: introduction to key concepts and a full endpoint reference.
  • Declarations: configuration details and processing order.
  • Limits: operation limits for the runtime environment and feature limitations during the experimental beta.

# More resources

# Feedback

We welcome your feedback on this experimental feature. Visit our Forums to join the conversation about Edge Functions.

Experimental Feature

This experimental feature is available to try out before it’s fully released or ready for production. We recommend using it in non-critical sites and non-production environments only. Learn more in our Netlify Labs doc.