Learning on Web Dev Open is free for all.

ArcadeFreshness
Arcade

Freshness

Phase 06 · System DesignPlayable

Six requests on a timeline. Set the headers so every outcome is the one you wanted.

0 / 5 cleared
Level 1 · A logo

It has not changed in two years. Nobody should be asking the server about it.

What happens
  • 0sfirst visit200want 200
  • 1mnext page200want HIT
  • 10mten minutes later200want HIT
  • 50mlater that hour200want HIT
served from cache, no requestrevalidated, no body sentfull download
Response headers
Cache-Control: no-store
Cache-Control

The simulation follows the rules browsers use: within max-age nothing is sent, a reload revalidates unless the response is immutable, a matching ETag produces a 304 with no body, and no-store keeps nothing on disk at all.