creating a .recordCache to store data if we have already retrieved it from the server