✅ FusionCache RemoveByTagAsync not removing proper tags?
Hi,
I am trying to get an understanding of FusionCache to use it as a hybride cache (local memory and Redis).
Currently, when I try to invalidate the cache, FusionCache adds the "tag indexes" to the cache, but the actual data keys are still present as well. I am not sure if this is supposed to happen, but I doubt.
Does anybody know what I might be doing incorrectly?
Thanks for any help!



5 Replies
Just to add, if I am correct, the tags in the data are the same as the ones I am trying to use for invalidation

I think I found my answer, but am not sure. If anyone can confirm from experience, that would be great. But, apparently the invalidated keys do not get removed right away, but ignored to make the workload "lazy and adaptive".
GitHub
RemoveByTag Clarifications · Issue #514 · ZiggyCreatures/FusionCache
Hello there, I've implemented a simplistic "ASP.net Session" type of cache with Fusion Cache. Everything is working great and I initially thought using the RemoveByTag() method would ...
!solved
!close
Closed!