cache

Uses cache, which the caller owns: the client never closes it. Without this call the common factory uses ResponseCache.Disabled and the JVM owning factory builds and owns a CaffeineResponseCache. A later call replaces an earlier one.

Parameters

cache

the cache to store answers in.