Question 1 of 6
The first question of NGINX cache design is not 'how long' but what?
Everything downstream (TTL, purge, staleness) is defined relative to it.
The key decides identity: $scheme$proxy_host$request_uri as the floor, plus Accept-Encoding, logged-in markers, or headers when they change the response. A wrong key serves one user another user's page — the cardinal cache sin.
Review this lesson