Building a cached API with Redis