diff --git a/xml/Microsoft.Extensions.Caching.Memory/MemoryCacheOptions.xml b/xml/Microsoft.Extensions.Caching.Memory/MemoryCacheOptions.xml index 49f21066301..3c5df374694 100644 --- a/xml/Microsoft.Extensions.Caching.Memory/MemoryCacheOptions.xml +++ b/xml/Microsoft.Extensions.Caching.Memory/MemoryCacheOptions.xml @@ -210,9 +210,11 @@ Gets or sets the maximum size of the cache. To be added. - [!CAUTION] -> There may be transient states while the cache is full but blocks are being released on a background thread. In this state, unexpected behavior might occur if the cache is being overutilized. + [!CAUTION] +> There may be transient states while the cache is full but blocks are being released on a background thread. In this state, unexpected behavior might occur if the cache is being overutilized. +> +> When making a call to replace an existing item with another one that will make cache size go beyond the limit, the existing and new items will be removed. ]]> @@ -238,12 +240,12 @@ if linked entries are tracked; otherwise, . The default is in .NET 7 and later versions. -