π‘οΈ Distributed Cache Stampede Protection
Since the very beginning FusionCache offered a solid Cache Stampede protection, as explained in the docs where it is clearly illustrated:
.
To solve it, I added a new StaleTags property to the factory execution context, so that now it's possible to access both the tags that are being passed to the GetOrSet() call and the existing tags of the stale entry in the cache (...
Community user @posledam and others asked for the ability to access the cache key in the factory context, to be able to work with it while going to the database or similar, without creating a closure with the lambda.
So that's what I added, but there's a catch here: FusionCache provides automatic cache key manipulation with things like `Cache...
| π£ LTS-ONLY RELEASE | |:--| | This version references only .NET 8 core packages, so it can be used in scenarios where only LTS packages can be referenced. |
This version is exactly the same as v2.2.0, except for 2 things:
v8 core packages (LTS)Some time ago I started enabling multi-targeting on FusionCache: I didn't do that because I needed to special case some parts of the code, but just because I wanted to reduce the amount of explicit dependencies for certain TFMs after a request from the community.
But recently community user @nick-randal noticed in #416 some potential issues: long story short,...