Skip to content
masterclass Buddy

Next.js 16+ · Module

next/cache

updateTag() is a Next.js cache API for Server Actions. It expires tagged data so a mutation can show fresh results immediately.

Last updated

Since
Next.js 16

Syntax

updateTag(tag)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • revalidateTag()
  • cacheTag()
  • cacheLife()
  • use cache
  • Server Actions
  • revalidatePath()

Source: Next.js 16 | Next.js. Checked 2026-11-03.