add ability to use fallback cache in case of API fails