Dispatch
Vercel adds routing rules to Python projects, evaluated at the CDN before the app runs
FastAPI, Django and Flask apps on Vercel can now use routing rules to set response headers or rewrite requests to internal paths. The rules are evaluated by the Vercel CDN before requests reach the application, so changes apply without a new deployment. That last detail is the useful one: header and rewrite changes stop requiring a redeploy, which matters for anyone whose deploy cycle also flushes an in-memory cache.
↳ Follow the thread