Menu

1 / 2

Filling a maintainer's "Help needed": shipping a Next.js 16 Redis cache handler

DEV Community·eddylee·6 months ago
#AkJULzMt
#compatibility#nextjs#cache#redis#next
Reading 0:00
15s threshold

Filling a maintainer's "Help needed": shipping a Next.js 16 Redis cache handler

Next.js 16 split caching into two distinct handler interfaces:

cacheHandler (singular) — Pages Router ISR, on-demand revalidation

cacheHandlers (plural) — the new 'use cache' directive, cacheComponents: true

The most popular OSS Redis handler today is @fortedigital/[email protected] . It declares peerDependencies.next: ">=16.1.5" . But its README marks the entire plural-API column as ❌:

cacheHandlers config (plural) ❌ Not yet supported - Help needed 'use cache' directive ❌ Not yet supported - Help needed 'use cache: remote' directive ❌ Not yet supported - Help needed 'use cache: private' directive ❌ Not yet supported - Help needed cacheComponents ❌ Not yet supported - Help needed

Enter fullscreen mode

Exit fullscreen mode

The community attempt to fix this — PR #207 — has been stalled for three months on a PHASE_PRODUCTION_BUILD regression that the maintainer rejected.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.