content-sdk-cache-components-and-osr
Tag-based caching in src/lib/cache/ and POST /api/revalidate webhook for on-demand invalidation.
от Sitecore★ 39 звёзд на GitHub
Установить content-sdk-cache-components-and-osr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Cache Components and OSR (App Router + Cache Components)
Detail: AGENTS-router-specifics.md#on-demand-revalidation-post-apirevalidate
Read first: src/lib/cache/, src/app/api/revalidate/route.ts
When
- Stale content
- Adding cache helper
- Webhook / revalidation setup
Rules
- Cache helpers use
'use cache'+cacheTagwithsc:route/sc:item/sc:dicttags POST /api/revalidateacceptsupdates[]- Optional
SITECORE_REVALIDATE_SECRET+x-revalidate-secretheader - Do not call
revalidateTagfrom components
FEaaS components
componentMap.cacheComponents: trueinsitecore.cli.config.tsregistersFEaaSCacheComponentsServerWrapperforFEaaSWrapper; keep it in sync withnext.config.ts- FEaaS components are not cached: they render at request time behind
<Suspense>while the page shell stays cached - Do not override
FEaaSWrapperinsrc/components/to cache FEaaS
Stop
- Stop if re-enabling SDK in-process dictionary cache
Docs: Content SDK.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл content-sdk-cache-components-and-osr?
Tag-based caching in src/lib/cache/ and POST /api/revalidate webhook for on-demand invalidation.
Как установить скилл content-sdk-cache-components-and-osr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл content-sdk-cache-components-and-osr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…