Cache duration for API response

So I’ve been been playing around with an idea and have been hitting the /games/top endpoint - I’ve noticed that the response seems to be cached across at least 2 instances (probably more under load) - can anyone give an idea of how frequently the cache gets refreshed and whether or not it’s refreshed at approximately the same time for all instances?

I also would like to see an answer here. I’ve seen this behaviour both with the followers and stream endpoint.

At times, it can take anywhere up to 3-5 mins for one of the instances to get up to date with the other.

Different endpoints are cached for different periods of time at the server level, from anywhere between a minute to an hour. We don’t publish cache times as they can be changed at any time depending on server load, but a rule of thumb is you should never hit the same endpoint more than once a minute.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.