[FEATURE] Add optional Brotli compression to FusionCacheSystemTextJsonSerializer
First off - we've switched to using FusionCache and it's fantastic, we just dropped it in as a HyrbridCache implementation, changing no code, and we got proper distributed tag invalidation (with redis backplane) and OTEL traces, it's so good 😎
We are using the STJ serialization, because the types we are caching are typically API response objects that we serialize into JSON, however they can be quite large.
We are using our own serializer which you can see here: https://gist.github.com/slang25/dfad935d1af43dbba02564906264c713
I wonder how you would feel about the Brotli option being added to the out-of-the-box STJ serializer? It seems like something people would benefit from, but may not take the time to implement themselves (even though it's quite simple).
Doing a bit more research, I'm happy to wait for this issue #371, and then build this on top of IBufferWriter<byte> for optimal perf.
Hi @slang25 , sorry for the delay. Yes, that was (and still is) on my backlog, it's just that I haven't had enoungh time to do it already: I'm on a big new project that I'll reveal... soon, so that took me all of my time. But yeah, I'll work on that!