Fluens.Caching
0.6.2
dotnet add package Fluens.Caching --version 0.6.2
NuGet\Install-Package Fluens.Caching -Version 0.6.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fluens.Caching" Version="0.6.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fluens.Caching" Version="0.6.2" />
<PackageReference Include="Fluens.Caching" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fluens.Caching --version 0.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Fluens.Caching, 0.6.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fluens.Caching@0.6.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fluens.Caching&version=0.6.2
#tool nuget:?package=Fluens.Caching&version=0.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Fluens.Caching
HybridCache configuration helper for Fluens builder infrastructure.
Installation
dotnet add package Fluens.Caching
Usage
fluensBuilder.AddCaching(opts =>
{
opts.DefaultExpirationSeconds = 300; // default: 300 (5 min)
opts.DefaultLocalExpirationSeconds = 60; // default: 60 (1 min)
opts.MaximumPayloadBytes = 1_048_576; // default: 1 MB
opts.MaximumKeyLength = 1024; // default: 1024
});
Configuration section: Fluens:Caching. Consumers inject HybridCache directly.
CachingOptions
| Property | Type | Default | Description |
|---|---|---|---|
Enabled |
bool |
true |
When false, no caching services are registered |
DefaultExpirationSeconds |
int |
300 |
L2 (distributed) cache expiration in seconds |
DefaultLocalExpirationSeconds |
int |
60 |
L1 (in-memory) cache expiration in seconds |
MaximumPayloadBytes |
int |
1048576 |
Maximum serialized size of a cache entry in bytes |
MaximumKeyLength |
int |
1024 |
Maximum length of a cache key |
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Fluens (>= 0.6.2)
- Microsoft.Extensions.Caching.Hybrid (>= 10.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Fluens.Caching:
| Package | Downloads |
|---|---|
|
Fluens.Caching.Redis
Redis distributed cache (L2) configuration for HybridCache via Fluens builder infrastructure. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.2 | 35 | 3/2/2026 |
| 0.6.1 | 35 | 3/2/2026 |
| 0.6.0 | 51 | 3/1/2026 |
| 0.5.7 | 52 | 3/1/2026 |
| 0.5.6 | 52 | 3/1/2026 |
| 0.5.5 | 51 | 2/28/2026 |
| 0.5.4 | 50 | 2/28/2026 |
| 0.5.3 | 53 | 2/27/2026 |
| 0.5.2 | 51 | 2/27/2026 |
| 0.5.1 | 53 | 2/27/2026 |
| 0.5.0 | 55 | 2/26/2026 |
| 0.3.2 | 58 | 2/26/2026 |
| 0.3.1 | 51 | 2/26/2026 |
| 0.3.0 | 55 | 2/24/2026 |
| 0.2.5 | 56 | 2/24/2026 |
| 0.2.4 | 51 | 2/24/2026 |
| 0.2.3 | 53 | 2/24/2026 |
| 0.1.0 | 59 | 2/23/2026 |