Caching & RSC
Cache Components, Suspense, and what not to put in fallbacks.
Cache Components
The app enables Next.js Cache Components. Avoid non-deterministic APIs (Date.now, random) during prerender/static shells.
Suspense
- Prefer streaming boundaries around slow admin panels
- Fallbacks must stay static/dumb — do not mount TanStack Table or other libraries that touch forbidden time APIs in the fallback path
- Do not import server-only modules (
getTranslationsfromnext-intl/server) into"use client"skeletons
URL state + server
Tabs and filters live in searchParams; pages resolve them inside a Suspense boundary and render only the active panel.