Menu

Edge Middleware and Edge Functions are now powered by Vercel Functions - Vercel
📰

Edge Middleware and Edge Functions are now powered by Vercel Functions - Vercel

Vercel News·Gal Schlezinger·5 months ago
#67KtZYJp
#vercel#functions#edge#middleware#runtime
Reading 0:00
15s threshold

Functions using the Edge runtime now run on the unified Vercel Functions infrastructure.

This applies to both before and after the cache:

Edge Middleware is now Vercel Routing Middleware, a new infrastructure primitive that runs full Vercel Functions with Fluid compute before the cache

Edge Functions are now Vercel Functions using the Edge Runtime after the cache

Edge Middleware and Edge Functions are deprecated. They have been replaced by Vercel Routing Middleware and Vercel Functions, respectively. Both support the Edge runtime, Node.js, and more.

With these changes, all functions including those running the Edge runtime are:

Fluid compute-ready : Runs on Fluid compute for better performance and cost efficiency

Multi-runtime : Supports Node.js and Edge runtimes

Framework-driven : Deployed automatically from supported framework code

Consistent pricing : Uses unified Vercel Functions pricing based on Active CPU time across all compute types

Vercel Routing Middleware is now generally available to…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.