Reactive state for the backend
summary
Claims that dynamic pages serve at static speed while removing manual cache ops by using useCache and revalidateTag. Demonstrates a Convex setup where a wrapper hashes function name+args into a cache key, starts a Convex subscription or CMS webhook, and posts that key to revalidateTag on changes. Shows a demo where server-rendered pages stop flashing stale content and layout shifts disappear. Mentions support for updateTag, custom cache handlers, per-query cacheLife (examples used: weeks) and large sites with millions of pages.
AI-written summary · about
chapters (6)
- 0:00Introduction to reactive state
- 2:08Evolution of Next.js caching
- 4:31Understanding the use cache API
- 7:17Implementing live data with Convex
- 10:00CMS integration and validation
- 12:15Advanced caching techniques
related talks
32mExtending reactivity to the server with Convex
25mCaching strategies on https://dev.to
24mCache for Commerce Performance and Optimization for High Volume Sales
16mHigh-speed personalization with Next.js
27mCaching for Cash
24mThe Performance Aspect of Building and Deploying Static Sites
42mCaching for Cash
58mCaching the uncacheable: delivering personalized experiences without sacrificing performance
