DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Next.js
What's the difference between updateTag and revalidateTag?
A
No real difference
B
updateTag immediately expires the cache (Server Actions only, read-your-own-writes); revalidateTag is stale-while-revalidate (Server Actions + Route Handlers, background refresh)
C
revalidateTag is deprecated in favor of updateTag
D
updateTag only works with fetch, revalidateTag only works with "use cache"
Check Answer