边缘中间件与函数迁移至 Vercel Functions 基础设施
来源: Vercel News
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
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 all users.
Learn more about Routing Middleware.