Edge Function
Also known as: Edge Functions / エッジ関数 / Edge Runtime
Serverless functions that run on CDN edge nodes geographically close to users, delivering low latency. They use a restricted Edge Runtime (lighter than Node.js), making them ideal for A/B testing, auth checks, and geo-routing.
Overview
Edge Functions run in edge computing environments provided by Vercel, Cloudflare Workers, Deno Deploy, and others. Full Node.js APIs are unavailable, but Web standard APIs (Response, fetch, crypto) work fine. Extremely short cold starts make them ideal for lightweight, per-request processing.
Integration with Next.js
In Next.js, adding 'export const runtime = edge' runs Middleware on the Edge Runtime. Hono is also Edge Runtime compatible — see the Hono × Cloudflare Workers guide for building edge APIs.
Related Columns
Related Terms
Feel free to contact us
Contact Us