When users search for a restaurant's records, the server should look for those records in the Redis cache first. If the records aren't there, only then would the server send a GET request to the external NYC Open Data API. This decreases the number of HTTP requests sent to the API.
When users search for a restaurant's records, the server should look for those records in the Redis cache first. If the records aren't there, only then would the server send a GET request to the external NYC Open Data API. This decreases the number of HTTP requests sent to the API.