Routing Middleware

Execute code before a request is processed on a site, and provide personalization to statically generated content.

Back to Knowledge Base

All Routing Middleware Guides

  • Ensuring safe and effective infrastructure testing
  • How to Fix Sitecore JSS Middleware Performance
  • Migrate to Vercel from Cloudflare
  • How to Optimize Next.js + Sitecore JSS
  • How can I increase the limit of redirects or use dynamic redirects on Vercel?
  • How can I use geolocation IP headers?
  • How can I make my library compatible with the Vercel Edge Functions runtime?
  • A/B Testing on Vercel
  • Rendering content based on device
  • Using the crypto Web API to redirect requests with a unique token

Get Started

  • Templates
  • Supported frameworks
  • Marketplace
  • Domains

Build

  • Next.js on Vercel
  • Turborepo
  • v0

Scale

  • Content delivery network
  • Fluid compute
  • CI/CD
  • Observability
  • AI GatewayNew
  • Vercel AgentNew

Secure

  • Platform security
  • Web Application Firewall
  • Bot management
  • BotID
  • SandboxNew

Resources

  • Pricing
  • Customers
  • Enterprise
  • Articles
  • Startups
  • Solution partners

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Community

Frameworks

  • Next.js
  • Nuxt
  • Svelte
  • Nitro
  • Turbo

SDKs

  • AI SDK
  • Workflow DevKitNew
  • Flags SDK
  • Chat SDK
  • Streamdown AINew

Use Cases

  • Composable commerce
  • Multi-tenant platforms
  • Web apps
  • Marketing sites
  • Platform engineers
  • Design engineers

Company

  • About
  • Careers
  • Help
  • Press
  • Legal
  • Privacy Policy

Community

  • Open source program
  • Events
  • Shipped on Vercel
  • GitHub
  • LinkedIn
  • X
  • YouTube

Loading status…

Select a display theme:
VercelLogotypeVercelLogotypeVercelVercel