EasyCaching
EasyCaching copied to clipboard
:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
Hi, How can I use `SlidingExpiration`, `AbsoluteExpiration`, `AbsoluteExpirationRelativeToNow` in `Set` method of redis and in-memory cache? There is this option in their bultin providers
## Description EasyCaching cache get expired in 2 weeks when service traffic is low ### Steps to Reproduce 1. Set in-memory cache A with expired time in one year (easyCaching...
## Description I cannot always reproduce this, but this happens in my concurrent test code and my business code is using MemoryLockFactory from EasyCaching.Core. ``` System.ObjectDisposedException: Cannot access a disposed...
## Description [Description of the bug or feature] ### Steps to Reproduce 能否实现一个在控制层可以添加的缓存
//这里重复加了一遍 if (!string.IsNullOrWhiteSpace(_options.DBConfig.KeyPrefix)) prefix = _options.DBConfig.KeyPrefix + prefix; 配置里面的_options.DBConfig.KeyPrefix 不为空,查询的时候又加了一遍
Seems to me like using EasyCachingAble attribute for cache isn't protected against cache stampede problem where multiple calls at nearly the same time before the cache is created are causing...
## Description I want to set all cache items expiration globally in my project, but not pass the expiry in the `Set` or `Get` methods ### Related code ```csharp _inMemoryCaching.Set("SomeKey",...