LazyCache 2.4.0

.NET Standard 2.0
Install-Package LazyCache -Version 2.4.0
dotnet add package LazyCache --version 2.4.0
<PackageReference Include="LazyCache" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LazyCache --version 2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LazyCache, 2.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LazyCache as a Cake Addin
#addin nuget:?package=LazyCache&version=2.4.0

// Install LazyCache as a Cake Tool
#tool nuget:?package=LazyCache&version=2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Lazy cache is a simple, thread safe, in-memory caching library that makes it easy to add high performance caching to your dotnet app.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (35)

Showing the top 5 NuGet packages that depend on LazyCache:

Package Downloads

ServiceCollection registrations for LazyCache to initialise the dependency injection collection and add enable IAppCache to be injected into your app


A mocking library that creates LazyCache IAppCache system mocks using Moq.

Basis Theory .NET SDK



Basis Theory .NET Azure Encryption Provider

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on LazyCache:

Repository Stars
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
Book Manager and Automation (Sonarr for Ebooks)
An efficient multi-layered caching system for .NET
FusionCache is an easy to use, high performance and robust cache with an optional distributed 2nd layer and some advanced features.
Version Downloads Last updated
2.4.0 1,719,567 9/1/2021
2.1.3 1,516,822 3/15/2021
2.1.2 1,451,284 9/21/2020
2.1.1 8,373 9/20/2020
2.1.0 711 9/19/2020
2.0.5 10,263 9/19/2020
2.0.4 2,333,426 12/28/2019
2.0.3 648 12/28/2019
2.0.2 1,079 12/27/2019
2.0.1 906,694 5/22/2019
2.0.0 361,871 3/20/2019
2.0.0-beta03 152,630 5/13/2018
2.0.0-beta02 8,001 3/4/2018
2.0.0-beta01 810 3/4/2018 1,902,089 12/23/2016 36,339 9/10/2016
0.6.0 13,731 8/15/2015
0.5.5222.23409 3,643 4/19/2014
0.5.5222.22653 1,496 4/19/2014
0.5.5222.21857 1,502 4/19/2014
0.5.6 1,352 4/28/2014