netlify-edge-functions
Netlify Edge Functions run on a globally distributed Deno runtime, executing code at the network edge closest to each user.
Setup & Installation
What This Skill Does
Netlify Edge Functions run on a globally distributed Deno runtime, executing code at the network edge closest to each user. The skill covers the middleware pattern using context.next(), geolocation access, request/response manipulation, and when to use edge compute over standard serverless functions.
Edge functions run in Deno with sub-50ms CPU budgets at global PoPs, so geolocation redirects and auth checks happen before the request ever reaches your origin, unlike a serverless function that runs in a single region.
When to use it
- Redirecting users to localized pages based on country code from context.geo
- Adding authentication checks before requests reach the origin server
- Running A/B tests by rewriting URLs at the edge without client-side flicker
- Injecting custom response headers for every route matching a URL pattern
- Bypassing the origin entirely for cached or static responses on high-traffic paths
Similar Skills
wp-performance
A backend-only agent skill for diagnosing and fixing WordPress performance problems.
wp-playground
wp-playground runs disposable WordPress instances in the browser or locally via CLI, using WebAssembly and SQLite.
wp-wpcli-and-ops
Handles WordPress operational tasks via WP-CLI: database exports and imports, URL and domain migrations with search-replace, plugin and theme management, cron inspection, cache flushing, and multisite operations.
apollo-router-plugin-creator
Guides you through writing native Rust plugins for Apollo Router.
