configure cache