We should cache specific responses from the API for a certain amount of time. Any request that could be identical to another request made indexing another user should be saved in a dictionary, a key of the URL in question, and a value of an object that contains the response itself and a DateTime of when it expires. (Maybe a day?) That way, we won't have to go through SRC's cache and use up our rate limit.
Responses can be pretty big, maybe we should trim them down to the essentials that we would need for any request, and throwing out the ones we never use.
We should cache specific responses from the API for a certain amount of time. Any request that could be identical to another request made indexing another user should be saved in a dictionary, a key of the URL in question, and a value of an object that contains the response itself and a DateTime of when it expires. (Maybe a day?) That way, we won't have to go through SRC's cache and use up our rate limit.
Responses can be pretty big, maybe we should trim them down to the essentials that we would need for any request, and throwing out the ones we never use.