The factory for creating a new instance of Cache. Cache is used to optimize network calls by the SDK.