Skip to main content
在 Manus 中运行任何 Skill
一键导入

data-fetching-and-caching

星标1
分支0
更新时间2026年4月29日 01:37

Use this skill any time you're fetching data in a Next.js 16 app, deciding what to cache, designing Suspense boundaries, or troubleshooting why a page is slow or shows stale data. Triggers include any work with the "use cache" directive, Cache Components, cacheLife, cacheTag, the cacheComponents config flag, fetch() inside server components, parallel data fetching, request waterfalls, <Suspense> boundaries, loading.tsx, streaming, or revalidatePath/revalidateTag. Also use when designing the per-endpoint caching strategy for a new feature, when an endpoint that should be dynamic is returning stale data (or vice versa), or when verifying that "Cache Components are enabled" in the project config. Bundles Vercel Academy topics cache-components, data-fetching-without-waterfalls, query-performance-patterns, and suspense-and-streaming.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly