diff --git a/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs b/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs index 3ec88f96..b1d2dfe2 100644 --- a/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs +++ b/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs @@ -42,8 +42,8 @@ public class BaseProviderOptions public string SerializerName { get; set; } /// - /// Get or sets whether null values should be cached, default is false. + /// Get or sets whether null values should be cached, default is true. /// - public bool CacheNulls { get; set; } = false; + public bool CacheNulls { get; set; } = true; } }