Templates
Jumpstart your app development process with pre-built solutions from Vercel and our community.
Jumpstart your app development process with pre-built solutions from Vercel and our community.
Jumpstart your app development process with pre-built solutions from Vercel and our community.

Redirect from a list of redirects both hardcoded and coming from Upstash (Redis), that get evaluated at the edge.

Learn to add/update/delete request headers in a middleware.

By A/B testing at the edge, you'll reduce CLS from client-loaded experiments and improve your site's performance with smaller JS bundles.

Learn how to filter query params in Edge Middleware.

Learn how to avoid calling several services by pre-checking stock at the edge using a redis cache.

DataDome can provide real-time bot protection and other security protections to any website. In this template we'll be using it at the edge.

Shows the differences between doing PPP at the edge using information from the geolocation object, Node.js SSR, and client-side rendering.

Learn how to programmatically create unique content pages for your users with a multi-tenant infrastructure using Edge Middleware.

DataDome can provide real-time bot protection, ip blocking, custom rules protection and other security protections to any website.

Read and write cookies directly at the edge.

Add rate limiting to your application with any frontend framework.

Botd is a browser library for bot detection. In this template we'll be using it alongside botd-integrations for bot detection at the edge.
Browse examples of how to use and apply Vercel Edge Middleware.