Blog

Using Next.js as a backend for your frontend
Most people reach for Next.js because they want to render a UI — Server Components, layouts, streaming HTML, the whole App Router experience. But the
Dive Deeper
next.js Building interactive apps
Every time a user clicks something in a Next.js app that triggers a Server Function, there's a gap. The network round-trip takes an unknown amount of
Dive Deeper
Next.js Building your application
Most developers treat next build as a black box. You run it, you wait, and either it prints a green checkmark or it doesn't. If it fails, you scrol
Dive Deeper
Next.js cacheLife Function
A use cache directive tells Next.js that something should be cached. cacheLife tells it for how long, and — less obviously — _how that durati
Dive Deeper
Next.js cacheTag
Caching data is only half the problem — the other half is invalidating exactly the right subset of it when something changes, without wiping out ever
Dive Deeper
Caching and Revalidating (Previous Model)
Next.js 16 introduced Cache Components, a new caching model built around the use cache directive that makes caching an explicit, opt-in decision ra
Dive Deeper