ergast-f1-api
ergast-f1-api copied to clipboard
Add Cache-Control Headers to Responses
Adding Cache-Control
headers to responses from the API would allow most clients to automatically take advantage of caching, improving client performance and reducing load on the API server and database. Since the API data rarely changes, max-age
would be a good way to cache.