ワンクリックで
content-sdk-cache-components-and-osr
Tag-based caching in src/lib/cache/ and POST /api/revalidate webhook for on-demand invalidation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Tag-based caching in src/lib/cache/ and POST /api/revalidate webhook for on-demand invalidation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Layout data from getPage/getComponentData; path/locale from extractPath/context.
Registers components in .sitecore/component-map.ts for Pages Router layout and editing.
Creates new Sitecore components under src/components/. Pages Router; map auto-regenerates on dev/build.
Multiple renderings of one component type; regenerate component map after changes.
Next.js i18n via next.config.js; locale from context.locale in data methods.
Preview/editing for Pages Router via context.preview and context.previewData in [[...path]].tsx.
| name | content-sdk-cache-components-and-osr |
| description | Tag-based caching in src/lib/cache/ and POST /api/revalidate webhook for on-demand invalidation. |
Detail: AGENTS-router-specifics.md#on-demand-revalidation-post-apirevalidate
Read first: src/lib/cache/, src/app/api/revalidate/route.ts
'use cache' + cacheTag with sc:route / sc:item / sc:dict tagsPOST /api/revalidate accepts updates[] and tags[]SITECORE_REVALIDATE_SECRET + x-revalidate-secret headerrevalidateTag from componentsDocs: Content SDK.