Open fredo opened 1 week ago
Thanks for the review and your opinion. I think you made a valid point regarding a more holistic approach to caching instead of randomly adding caches here and there and that resonates with me very much. I'm actually happy to think about a proper solution once we have the time for it. Just a couple of additional thoughts which Ulo and I came up with.
I would love to get some benchmarking actually. Do you think the benchmark test would give a valuable output?
After some discussion with @ulope, we decided to keep the keys in an in-memory cache instead of checking against the db. The reasons are: