You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.
Player objects tell us when the data in that request response may be stale via the @next_update attribute.
Considering the the API rate limit and how long a Player can go without being updated, we should provide a cache that will return cached Players that we know are still up-to-date, or make an API request on a cache miss or stale data (Time.now > player.next_update)
We may work other data objects into this cache if only for consistency, but at the least we should provide one specifically for Players, since it's probably the hottest path anyone will implement.
The text was updated successfully, but these errors were encountered:
Player
objects tell us when the data in that request response may be stale via the@next_update
attribute.Considering the the API rate limit and how long a
Player
can go without being updated, we should provide a cache that will return cachedPlayers
that we know are still up-to-date, or make an API request on a cache miss or stale data (Time.now > player.next_update
)We may work other data objects into this cache if only for consistency, but at the least we should provide one specifically for
Players
, since it's probably the hottest path anyone will implement.The text was updated successfully, but these errors were encountered: