SimpleHelpers.MemoryCache 1.1.1

SimpleHelpers.MemoryCache (C# - Source file)

Simple lightweight object in-memory cache, with a background timer to remove expired objects.

Fast in-memory cache for data that are expensive to create and can be used in a thread-safe manner.
All stored items are kept in concurrent data structures (ConcurrentDictionary) to allow multi-thread usage of the MemoryCache static methods.

Note: this nuget package contains c# source code and depends on System.Collections.Concurrent introduced in .Net 4.0.

Install-Package SimpleHelpers.MemoryCache -Version 1.1.1
dotnet add package SimpleHelpers.MemoryCache --version 1.1.1
paket add SimpleHelpers.MemoryCache --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

1.1.0
* new method: Renew for sliding expiration
1.0.6
* new method: ClearByPrefix
1.0.5
* Improve null handling
1.0.4
* Nuget dependencies adjustment
1.0.3
* Allow adding null objects
* Better documentation

Version History

Version Downloads Last updated
1.1.1 (current) 2,248 5/29/2015
1.1.0 214 3/20/2015
1.0.6 279 12/10/2014
1.0.5 307 6/8/2014
1.0.4 215 4/16/2014
1.0.3 278 10/9/2013
1.0.2 209 10/9/2013
1.0.1 305 4/15/2013
1.0.0 239 4/12/2013