Skip to content

Glossary: Next.js Beyond the Basics

revalidateTag

Marks a tag stale so visitors get the old data once while fresh data loads in the background. The second argument "max" is recommended, and it works in route handlers.

Where the book teaches it

Related terms

updateTagCache tagcacheLife