allow caching of API results