Blog

Next.js Handling redirects
"Just redirect the user" sounds like it should have one obvious answer, and in Next.js it deliberately doesn't — because "redirect after this form su
Dive Deeper
Next.js headers
Every incoming HTTP request carries a bundle of headers you never see in your component tree by default — the user-agent, the authorization token
Dive Deeper
Next.js How revalidation works
Most Next.js developers interact with revalidation at a very shallow level: you call revalidateTag() after a mutation, or you set a cacheLife pro
Dive Deeper
Next.js Image Component
Images are usually the single heaviest thing on a web page, and they are also the thing most likely to wreck your Core Web Vitals if you leave them u
Dive Deeper
Next.js ImageResponse
Every time a link to your site gets dropped into Slack, iMessage, or Twitter, something has to decide what the preview card looks like. For most site
Dive Deeper
Next.js instrumentation-client.js
Server-side instrumentation gets you visibility into requests, renders, and errors that happen before HTML ever reaches a browser. But a meaningful c
Dive Deeper