Why teams use nextjs-turbo-redis-cache
-
Batch tag invalidation
Groups and optimizes delete operations to reduce Redis load during revalidation spikes.
-
Request deduplication
Prevents duplicate Redis reads in hot paths to lower latency and improve throughput.
-
In-memory acceleration
Local memory caching reduces repetitive lookups and keeps frequent reads fast.
-
Cache Components support
Supports Next.js 16+ Cache Components flows including use cache, cacheTag, and cacheLife.
Quick start
Install the package and wire it as your cache handler in a Next.js App Router project.
pnpm add @trieb.work/nextjs-turbo-redis-cache
Then follow the setup guide in the README for configuration, Redis environment variables, and advanced options.
Resources
Other cache handler projects
Compare this project with other open-source handlers used in the Next.js ecosystem: