updated decision to store response in cache to use a Predicate