We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df4946f commit 621c6feCopy full SHA for 621c6fe
src/CleanArchitecture.Extensions.Caching/README.md
@@ -29,7 +29,8 @@ public static void AddInfrastructureServices(this IHostApplicationBuilder builde
29
{
30
options.DefaultNamespace = "MyApp";
31
options.MaxEntrySizeBytes = 256 * 1024;
32
- // Set Backend = CacheBackend.Distributed to force shared cache when IDistributedCache is configured.
+ // Set Backend = CacheBackend.Distributed to force shared cache when a real IDistributedCache (e.g., Redis) is configured.
33
+ // MemoryDistributedCache is treated as non-distributed; use Backend.Memory or Backend.Auto for single-node setups.
34
}, queryOptions =>
35
36
queryOptions.DefaultTtl = TimeSpan.FromMinutes(5);
0 commit comments