RepositoryTypeScriptDEGermany
trieb-work

trieb-work/nextjs-turbo-redis-cache

Designed for speed, scalability, and optimized performance, nextjs-turbo-redis-cache is your go-to solution Next.js cache handler for demanding production environments. If you use the app router and self-host, you will probably need this. Development sponsored by https://TRWK.de

155stars
15forks
12issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: redis-cache

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: cache-handler

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: cache

#2 Repository Của Tuần

🚀 Cache handler Redis siêu tốc cho Next.js App Router

Giải pháp caching Redis tối ưu tốc độ, khả năng mở rộng và hiệu năng cho các dự án Next.js lớn trên môi trường production.

nextjs-turbo-redis-cache là cache handler Redis được thiết kế riêng cho Next.js 15/16 với App Router. Dự án phát triển bởi nhóm TRWK.de sau khi kiểm thử rộng rãi gói @neshca và phát hiện nhiều vấn đề nghiêm trọng. Gói hỗ trợ Cache Components (Next.js 16+) và tích hợp đầy đủ test cho các luồng 'use cache', cacheTag và cacheLife.

✨ Điểm nổi bật

  • Batch Tag Invalidation: Nhóm và tối ưu hóa thao tác xóa để giảm tải Redis tối đa.
  • Request Deduplication: Tránh các cuộc gọi Redis get trùng lặp, đảm bảo thời gian phản hồi nhanh hơn.
  • In-Memory Caching: Lưu cache cục bộ cho các phép gọi Redis get để giảm độ trễ.
  • Efficient Tag Management: Quản lý thẻ trong bộ nhớ để revalidate nhanh với chi phí Redis tối thiểu.
  • Intelligent Key-Space Notifications: Cập nhật tự động bộ nhớ thẻ khi khóa hết hạn hoặc bị xóa.
  • Hỗ trợ Cache Components: Tương thích hoàn toàn với tính năng Cache Components trong Next.js 16+.
  • Tích hợp môi trường đám mây: Hỗ trợ Docker, Kubernetes và Google Cloud Run.

💡 Vì sao đáng chú ý

Khác với các giải pháp cache thông thường, nextjs-turbo-redis-cache tập trung vào hiệu năng cao và giảm thiểu tương tác với Redis thông qua deduplication và caching cục bộ. Kiến trúc dựa trên bộ nhớ chia sẻ (shared hash maps) và SyncedMap giúp tối ưu hóa các thao tác get/set/revalidateTag. Đặc biệt phù hợp với các ứng dụng Next.js sử dụng App Router và triển khai tự host với lư lượng truy cập lớn.


#NextJS #RedisCache #CacheHandler #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
fortedigital/nextjs-cache-handler

Next.js caching extensions focusing on Redis based architecture

190
Oct 16, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

159.6k
Oct 26, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.3k
Oct 25, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.3k
Oct 25, 2026
RepositoryTypeScript
shadcn-ui/ui

Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

126.6k
Oct 26, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

457.9k
Oct 25, 2026
RepositoryTypeScript
nilbuild/developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.

370.4k
Oct 25, 2026
RepositoryTypeScript
vuejs/vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

212.6k
Oct 10, 2024
RepositoryTypeScript
firecrawl/firecrawl

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

195.6k
Oct 26, 2026