cache-components skillA
cache-components is agent-read markdown (skill) from asymmetric-al/core: Build correct cached/dynamic boundaries in the Next.js App Router when Cache Components or PPR are enabled. Use when working with cacheComponents, Partial Prerendering (PPR), 'use cache', cacheLife, cacheTag, updateTag, or revalidateTag, to avoid request-context leaks and enforce proper cache invalidation. Not for the Pages Router or when Cache Components/PPR are off..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Cache Components (Next.js) — Skill **Name:** `cache-components` **Purpose:** Build correct cached/dynamic boundaries in Next.js App Router when Cache Components or PPR are in use. Use this skill to avoid request-context leaks and to enforce proper cache invalidation. **Applies when:** `cacheComponents: true`, Partial Prerendering (PPR), `'use cache'`, `cacheLife`, `cacheTag`, `updateTag`, `revalidateTag`. **Do not use when:** Working in the Pages Router or when Cache Components/PPR are not enabled. ## Rules - **Cached vs dynamic:** Shared data should be cached; request/user-specific data must be dynamic and streamed behind `<Suspense>`. - **No request context inside cache:** Never call `cookies()`, `headers()`, or auth/session inside a `'use cache'` scope. - **Cached functions must be async:** Any `'use cache'` function/component must be `async`. - **Prefer code-local caching:** Favor `'use cache'`, `cacheLife`, `cacheTag` over route-segment config (`revalidate`, `dynamic`). - **Mutations must invalidate tags:** Use `updateTag` for immediate consistency or `revalidateTag` for background refresh. …
Read the whole file at its exact version.
How to install
mdr add asymmetric-al/core/cache-components@git:20260724.7a8d89fmdr add asymmetric-al/core/cache-components@sha256:8ebb9692f2f37b40Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_egcrxo7qm4oo7rcy)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260724.7a8d89f latest | 2026-07-24 | 7a8d89f | 4,099 B | A | view · diff |
| git:20260603.c42511a | 2026-06-03 | c42511a | 3,374 B | A | view · diff |
| git:20260222.9a170d8 | 2026-02-22 | 9a170d8 | 2,956 B | C | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4099 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
asymmetric-al/core · 383 stars · license AGPL-3.0 · pushed 2026-09-23 · branch develop
API
GET https://markdownregistry.com/api/v1/artifacts/art_egcrxo7qm4oo7rcy GET https://markdownregistry.com/api/v1/resolve?ref=asymmetric-al/core/cache-components GET https://markdownregistry.com/api/v1/blob/8ebb9692f2f37b403576c12da21e6d0be9abb0e91a380f0701ef6ffbee7498b0
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.