Norwayfortedigital/nextjs-cache-handler
Next.js caching extensions focusing on Redis based architecture
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tháng
🚀 nextjs-cache-handler: Cache handler Redis cho Next.js 15/16
Tích hợp cache handler dựa trên Redis, tương thích Next.js 15 và một phần Next.js 16, không phụ thuộc @neshca/cache-handler từ phiên bản 2.0.0.
@fortedigital/nextjs-cache-handler là một tiện ích caching mở rộng cho Next.js, tập trung vào kiến trúc dựa trên Redis. Từ phiên bản 2.0.0, gói này độc lập hoàn toàn, không còn phụ thuộc vào @neshca/cache-handler, đồng thời hỗ trợ pleno Next.js 15 và một phần Next.js 16. Dự án phát triển bởi Forte Digital, cung cấp các handler tùy biến cho các trường hợp sử dụng chuyên biệt.
✨ Điểm nổi bật
- Redis-based caching: Lưu trữ cache trong Redis bằng handler
redis-strings, hỗ trợnode-redis(không hỗ trợioredis). - Local LRU cache: Handler
local-lrucho caching cục bộ, giảm tải truy cập Redis. - Composite handler: Kết hợp nhiều handler để tối ưu hiệu năng và độ tin cậy.
- Tương thích Next.js 15/16: Hỗ trợ Next.js 15 từ v2.0.0+ và Next.js 16 từ v3.0.0+.
- Dễ dàng chuyển đổi: Thay thế
@neshca/cache-handlerbằng@fortedigital/nextjs-cache-handlerchỉ bằng vài thay đổi import. - Hỗ trợ phiên bản Node.js 22+: Yêu cầu môi trường Node.js >= 22.0.0 và Redis >= 5.5.6.
- Tài liệu ví dụ đầy đủ: Cung cấp ví dụ từ cơ bản đến nâng cao trong thư mục
examples.
💡 Vì sao đáng chú ý
Dự án khác với các giải pháp cache thông thường bằng cách cung cấp một hệ thống handler linh hoạt, cho phép kết hợp cache cục bộ và Redis để tối ưu hiệu năng. Đặc biệt phù hợp với các ứng dụng Next.js lớn cần quản lý cache phân tán hoặc triển khai đa instance. Với tính năng hỗ trợ Next.js 15/16 và cấu trúc handler modular, đây là lựa chọn mạnh cho việc mở rộng cache trong môi trường serverless hoặc container.
#NextJS #RedisCache #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
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
An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
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.
Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.