Nfs Add Cache

Retrofit Redis-backed cache handling into an existing project scaffolded with nextjs-fullstack-starter. Use when the user wants to add Redis, share Next.js cache across processes / deploys, speed up frequent reads, or any 'add caching to this project' request. Adds ioredis, a docker-compose redis service, wires Next.js's experimental cacheHandler to use Redis, adds a typed cache helper at src/server/lib/cache.ts, and REDIS_URL env. Refuses to run on projects that don't have the scaffolded structure.

juncoding b3e67d2 5.4 KB Updated

File contents

juncoding/nextjs-fullstack-starter/tree/main/skills/nfs-add-cache commit b3e67d246b

Frequently asked questions

npx skillmds@latest add juncoding/nfs-add-cache