Encircle interview question

Create a request system that’s able to queue requests and cache results.