Persilsoft.Caching.Abstractions
Core abstractions for provider-agnostic distributed and in-memory caching in .NET applications. Provides clean interfaces (ICacheProvider, IRedisSetOperations) and flexible expiration policies (CacheItemPolicy) for implementing multiple caching backends including Redis, Memcached, InMemory, and custom providers. Key Features: • ICacheProvider - Core caching operations (Get/Set/Remove/Exists) • IRedisSetOperations - Extended interface for Set operations • CacheItemPolicy - Flexible expiration policies (absolute, relative, sliding) • Batch operations for performance (GetMany, RemoveMany) • Fully async with CancellationToken support • Type-safe generic methods for object caching • Zero dependencies - pure abstraction layer Perfect for building provider-agnostic caching solutions that can switch between Redis, Memcached, InMemory, or custom implementations without code changes.
Activity
- Latest release
- 9mo ago
- Total releases
- 1
- Cadence
- —
- Last 12 months
- 1
Details
- License
- MIT
- First release
- Dec 14, 2025
| Version | Released | |
|---|---|---|
1.0.0
initial
|
1.0.0
initial
|