A Nextjs Cache Components Cache Handler
-
Updated
Nov 10, 2026 - TypeScript
A Nextjs Cache Components Cache Handler
CVE-2026-126187 Unauthenticated RCE in React Server Components - PoC and Docker lab for GHSA-xqc2-xf4c-x3h3 / GHSA-673q-mjm6-r5xr
A reliable, drop-in `cacheHandlers` implementation: `use cache` backed by memcached instead of a per-pod in-memory LRU
Redis cache handler for Next.js 16 — supports both cacheHandler (ISR) & cacheHandlers ('use cache'). Lua-atomic tagging, in-memory fallback, deploy isolation
Redis/Valkey-backed cache handler for Next.js Cache Components ('use cache'), shared by every instance of a multi-instance deployment.
Reproducible lab testing how Next.js "use cache" builds cache keys. Covers 54 input pairs on 16.4.4, 16.4.5 and 16.4.6, real key strings, File and Uint8Array collisions before 16.4.5, Server Action uploads, metadata workarounds, closures and argument size limits.
Redis cache handler for Next.js 16: shared ISR (cacheHandler) and "use cache" (cacheHandlers) cache for self-hosted, multi-instance apps such as Kubernetes, with shared tag invalidation, build-output fallback and a circuit breaker for Redis outages
To associate your repository with the use-cache topic, visit your repo's landing page and select "manage topics."