When to Move Authentication to Netlify Edge Functions
Moving JWT validation to Netlify Edge Functions can cut 100-200ms per authenticated request, but only if your auth logic fits within V8 isolate constraints: 50MB bundle, 100ms init, no filesystem, Web Crypto API only. A concrete RS256 validation example shows the trade-offs.