Problem Statement
What is a good default for public read APIs under high traffic?
Explanation
Public feeds and catalogs often tolerate minor staleness. Use caches and ETag/Last-Modified to cut load and latency.
Expose freshness headers so clients know what they got and can retry when needed.
Code Solution
SolutionRead Only
GET /items If-None-Match: "etag123"
Practice Sets
This question appears in the following practice sets:
