Next.js use cache, cacheLife and cacheTag: How One View Counter Rebuilt Every Pageuse cache stores a result, cacheLife decides when it goes stale, cacheTag lets you throw it out on demand. When to use each, and where TanStack Query fits.Nov 11, 20268 min read