All challenges
Multiple ChoiceHard 30s

Stale-while-revalidate

Choose the best answer for: SWR pattern
Options
  1. 1Serve only the stale copy and never attempt to fetch anything fresh
  2. 2Bypass the cache entirely and always wait for a fresh upstream load
  3. 3Serve stale cache while fetching fresh data in background
  4. 4Always serve fresh data and discard the stale copy without reading it

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