SimpleHelpers.MemoryCache 1.1.1

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
<PackageReference Include="SimpleHelpers.MemoryCache" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 3,773 5/29/2015
1.1.0 407 3/20/2015
1.0.6 434 12/10/2014
1.0.5 469 6/8/2014
1.0.4 405 4/16/2014
1.0.3 468 10/9/2013
1.0.2 402 10/9/2013
1.0.1 481 4/15/2013
1.0.0 421 4/12/2013