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.
#r "nuget: SimpleHelpers.MemoryCache, 1.1.1"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 6,841 5/29/2015
1.1.0 651 3/20/2015
1.0.6 679 12/10/2014
1.0.5 724 6/8/2014
1.0.4 661 4/16/2014
1.0.3 705 10/9/2013
1.0.2 651 10/9/2013
1.0.1 736 4/15/2013
1.0.0 686 4/12/2013