·next-cache-components
</>

next-cache-components

Next.js 16 缓存模型专业知识涵盖“使用缓存”指令、cacheLife() API、用于失效的cacheTag()、cacheComponents 配置和部分预渲染 (PPR)。在 Next.js 16+ 应用程序中实现缓存策略、从不稳定缓存迁移或优化服务器组件渲染时使用。

19安装·1热度·@oimiragieo

安装

$npx skills add https://github.com/oimiragieo/agent-studio --skill next-cache-components

如何安装 next-cache-components

通过命令行快速安装 next-cache-components AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/oimiragieo/agent-studio --skill next-cache-components
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:oimiragieo/agent-studio。

SKILL.md

查看原文

Deep expertise on the Next.js 16 caching model. Covers the 'use cache' directive, cacheLife() profiles, cacheTag() invalidation, cacheComponents configuration, and Partial Prerendering (PPR) integration.

| Feature | Next.js 14 | Next.js 15 | Next.js 16 |

| fetch() caching | Cached by default | Not cached by default | Not cached by default | | Route caching | Automatic | Opt-in | 'use cache' directive | | Data caching | revalidate option | revalidate option | cacheLife() API | | Invalidation | revalidateTag() | revalidateTag() | cacheTag() + revalidateTag() |

Next.js 16 缓存模型专业知识涵盖“使用缓存”指令、cacheLife() API、用于失效的cacheTag()、cacheComponents 配置和部分预渲染 (PPR)。在 Next.js 16+ 应用程序中实现缓存策略、从不稳定缓存迁移或优化服务器组件渲染时使用。 来源:oimiragieo/agent-studio。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/oimiragieo/agent-studio --skill next-cache-components
分类
</>开发工具
认证
收录时间
2026-03-07
更新时间
2026-03-10

Browse more skills from oimiragieo/agent-studio

快速解答

什么是 next-cache-components?

Next.js 16 缓存模型专业知识涵盖“使用缓存”指令、cacheLife() API、用于失效的cacheTag()、cacheComponents 配置和部分预渲染 (PPR)。在 Next.js 16+ 应用程序中实现缓存策略、从不稳定缓存迁移或优化服务器组件渲染时使用。 来源:oimiragieo/agent-studio。

如何安装 next-cache-components?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/oimiragieo/agent-studio --skill next-cache-components 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/oimiragieo/agent-studio