
- Next.js
Advanced internationalization with Next.js and middleware
February 24, 2022 • 2 Min
Next.js 12 introduced middleware for handling logic at the CDN level (sometimes called an edge function) before a page loads. This is incredibly powerful and unlocks the potential for static pages to have limited server-side logic. There are lots of examples of this but one compelling use case…