A flexible and efficient caching library for .NET applications that provides:
- Multiple cache provider support (In-Memory and Redis)
- Easy integration with dependency injection
- Asynchronous operations with TTL support
- Built-in monitoring and metrics (OpenTelemetry integration)
- Thread-safe operations
- Configurable through standard .NET configuration system
- In-Memory caching for single-server scenarios
- Redis support for distributed caching
- Automatic failover and connection management for Redis
- Thread-safe concurrent operations
- Optimized for high-performance scenarios
- Efficient memory usage
- Simple setup through extension methods
- Compatible with .NET 7.0 and higher
- Built-in Microsoft DI container support
- Detailed cache statistics
- OpenTelemetry metrics support
- Per-key performance tracking
This library is designed to provide a robust caching solution for both simple and complex .NET applications, offering flexibility in cache storage choices while maintaining high performance and reliability.
- Implement functionality of
SlidingExpirationfromDistributedCacheEntryOptions options