All challenges
Multiple ChoiceIntermediate 30s

API response caching

Choose the best answer for: caching API data
Options
  1. 1Cache POST requests because they are safe and identical every time
  2. 2Cache frequent, slow-changing API responses in Redis/CDN
  3. 3Cache every response regardless of how often it changes or varies
  4. 4Never cache any API response; always hit the upstream on every call

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle