Skip to content

Frontend & UI

#caching

3 posts tagged #caching on DiCodeWeb, from fundamentals to production, newest first.

3 postsUpdated Sep 5, 2026

Posts

Server State Is a Cache, Not State: TanStack Query v5 in Depth

Data from the server isn't yours — you only hold a copy with an expiry date. This post goes deep on TanStack Query v5 through the lens of caching: query key design, staleTime and gcTime, invalidation, optimistic updates with rollback, Suspense, hydration with the Next.js App Router, infinite queries, and when not to use it.

Frontend & UI17 min
All tags