Setting up the cache for the requests.