BE: add basic caching feature to the RestApiClient
#1 Updated by Noah Watkins about 8 years ago
There is a small abstraction layer in kraken for interacting with the rest api. When kraken updates various data in the database there are several calls to the client which access the same rest API endpoint. This is especially bad when we access pg dump more than once. Adding a very simple cache that will return previous retreived data for a single instance of the RestApiClient will be easy and reduce network traffic.