Repository navigation
Question About GetOrDefault and Document #545
|
Hello! First, I just want to thank you for this excellent project. I have a question about the My question: If a value is read from the distributed cache, does it also get stored in the memory cache afterward? Thank you! 🙏 |
Replies: 1 comment
|
Hi @AHosseinRnj
Happy you're liking FusionCache!
I see what you are saying, maybe I should clarify the wording in the docs. What I meant to say is that the default value returned is not saved in the cache, but just returned. The internal copying from L2 to L1 is in fact there as you mentioned, but is considered an internal detail, because from the outside it's a transparent behavior. Hope this helps, I'll probably update the docs thanks to your note 😊 |
Hi @AHosseinRnj
Happy you're liking FusionCache!
I see what you are saying, maybe I should clarify the wording in the docs.
What I meant to say is that the default value returned is not saved in the cache, but just returned.
…