LazyCache
LazyCache copied to clipboard
An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
add a constructor dependency on IOptions options base on [#128](https://github.com/alastairtree/LazyCache/issues/128)
@alastairtree It has been a long time since there were any code changes in this project. Can we assume that this project is abandoned? If so: Thank you for all...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Here is some example code that allows anyone to easily reproduce the issue I am...
**Describe the bug** I am using the RegisterPostEvictionCallback to auto-refresh my cache when it expires. This is causing my memory usage to gradually creep up over time. I am logging...
Fixes: https://github.com/alastairtree/LazyCache/issues/152 Changes: Fixed default cache duration not getting applied to instance methods Added unit tests
Is it possible to set the maximum size limit of the LazyCache as is possible in IMemoryCache by MS?
In [MemoryCache by Microsoft](https://learn.microsoft.com/en-us/aspnet/core/performance/caching/memory?view=aspnetcore-7.0) we can do things like ``` public class MyMemoryCache { public MemoryCache Cache { get; } = new MemoryCache( new MemoryCacheOptions { SizeLimit = 1024 });...
**Describe the bug** I have tried everything to get rid of cache including renaming item, providing a new memorycacheprovider etc.. GetorAdd still pulls my old cache no matter what I...
The existing locking implementation in the `CachingService` class is not robust. It is possible for the policy of exclusive execution per key to be violated, because the lock is released...