dotnetcore / EasyCaching

:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
MIT License
1.92k stars 324 forks source link

Update the default value of CacheNulls from false to true #506

Closed catcherwong closed 9 months ago

catcherwong commented 9 months ago

Description

When we use cache, a better practice is caching the null value to prevent some invalid requests. Maybe set the default value to true is much better here.

cc @Memoyu