SimpleHelpers.MemoryCache 1.1.0

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package SimpleHelpers.MemoryCache -Version 1.1.0
dotnet add package SimpleHelpers.MemoryCache --version 1.1.0
<PackageReference Include="SimpleHelpers.MemoryCache" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleHelpers.MemoryCache --version 1.1.0
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 4,022 5/29/2015
1.1.0 419 3/20/2015
1.0.6 445 12/10/2014
1.0.5 483 6/8/2014
1.0.4 419 4/16/2014
1.0.3 481 10/9/2013
1.0.2 414 10/9/2013
1.0.1 496 4/15/2013
1.0.0 434 4/12/2013