Nextjs Cache Architecture

Use this skill whenever the user wants to design or implement caching in a Next.js 16+ App Router project — setting up the "use cache" directive, building a cache tag registry, wiring mutations to invalidation utilities, structuring Suspense boundaries for partial prerendering, handling personalized content near cache boundaries, choosing cacheLife profiles, calling cacheTag / updateTag / revalidateTag correctly, migrating from unstable_cache, or debugging stale or incorrectly fresh data. Trigger even when the user only describes their domain (e.g. "I have a posts table") and asks how to cache it properly.

om-scogo d8e33c8 4 files · 39.4 KB Updated 0 repo stars

File contents

om-scogo/skillsh-scraper/tree/main/data/skills/mohamed-hossam1-nextjs-cache-architecture/nextjs-cache-architecture commit d8e33c875a

Frequently asked questions

npx skillmds add om-scogo/nextjs-cache-architecture