~/talk

Making Jamstack More Flexible with Vercel Edge Middleware

Talkat TheJam.dev 2023 Β· 2023-01-25..01-26Β· [frontend-architecture]
links:none on file
slides:none on file

Shows how to push small runtime logic to the CDN using Vercel Edge Middleware with Next.js, creating a middleware.ts at project root that exports a middleware(request) function. The demo logs every request, then narrows execution with a config.matcher = '/', inspects headers, geolocation and cookies, and rewrites or redirects to prebuilt localized or personalized pages. Example: cookie-based homepage rewrite for session continuity works in the demo; other uses shown include A/B tests, rate limiting and auth.

AI-written summary Β· about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark β€” the status bar button does the same
?
this help
esc
close this, then clear every filter β€” or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.