GitHub repository: Aigent/cache-or-req
Primary language: JavaScript
Created: 2018-10-04T19:47:39Z
Description: A very simple cache for request-promise operations, primary goal is to return always a value after the first real fetch. The library tried to re-fetch after TTL is reached but returns immediately, the next request within the TTL time will return the updated result. This library should primarily be used for accessing configuration via APIs and ensure that services get always some kind of configuration.