4 ms·
I don't know all the details of course, but I think I'd approach this by splitting the user specific info into a short lived user specific cache + globally cach
by jrsj 3y ago
I don't know all the details of course, but I think I'd approach this by splitting the user specific info into a short lived user specific cache + globally caching the non user specific stuff for a bit longer. Ideally that way you only have to query the user specific part at most once every 5 minutes or something like that.
Or even if you didn't cache the user specific bits, you could cache the rest and just query for that every time.