~/talk

Hands On: How To Migrate To 16 and "Use Cache"

Talkat Next.js Conf 2025 · on Wednesday, 2025-10-22· [react, frontend-architecture]
links:none on file
slides:none on file

Migrates a Next.js 15 app to Next.js 16 by enabling cache components in next.config, installing next@latest, removing route segment dynamic flags, and adding the use cache directive at the top of static page files so pages render at build time. Uses cacheLife with the minutes profile (stale ~5m, revalidate 1m, expire ~1h) for ISR behavior, splits blog results into a Suspense boundary so categories are static and posts remain dynamic, tags cache entries for revalidation, and demos using use cache remote (Vercel Data Cache/Redis) as an upstream shield succeed.

AI-written summary · about

  1. 0:00Migrating to Next.js 16 and cache
  2. 2:36Setting up Next.js app
  3. 5:02Updating to Next.js 16 and cache
  4. 7:53Cache revalidation setup
  5. 9:40Migrating blog page to cache
  6. 13:34Finalizing migration steps
  7. 15:02Answering audience questions about caching
  8. 21:22Advanced useCache remote
  9. 23:08Partial pre-rendering demo
  10. 24:33React suspense dev tools
  11. 26:38Preparing hands-on exercise
  12. 27:43Caching quiz with prizes
  13. 36:30Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.