What problem does it solve?
This Skill eliminates the manual effort and potential configuration errors when setting up Redis distributed caching for Jarvis .NET 9 backend applications, providing a standardized, framework-aligned way to add scalable L2 caching to reduce database load.
Core Features & Use Cases
- Framework-Aligned Integration: Seamlessly adds Redis distributed cache support to Jarvis projects using the official UseRedisDistributedCache extension method, following the framework's layer extension conventions.
- Grouped Cache Management: Supports configurable distributed cache groups, making it easy to manage cache instances for multi-tenant or clustered deployment scenarios.
- Use Case: For a high-traffic e-commerce Jarvis API that serves product data across multiple app instances, this Skill enables consistent cached product data across all nodes to reduce duplicate database queries.
Quick Start
Use this skill to configure Redis distributed caching for your Jarvis project by adding the required Jarvis.Caching.Redis and StackExchange.Redis NuGet packages, then calling the UseRedisDistributedCache method in your Program.cs file after adding the Jarvis caching layer.