Concept notes
Why this decision matters
ETag & CDN Revalidation Lab is focused practice for Conditional requests and CDN cache operation. It explains why each answer is safe, risky, or production-ready.
Trace the complete revalidation chain instead of reasoning about one cache in isolation.
Learning objectives
- Use validators for selected representations.
- Operate targeted CDN invalidation.
- Bound emergency stale response behavior.
How to play
- Follow each cache hop.
- Choose the validator or invalidation behavior.
- Balance correctness, transfer cost, and recovery.
Scoring
- Correct actions add 250 points.
- Risky actions reduce simulation indicators.
- A perfect run scores 1,000.
Backend concept notes
An ETag identifies a selected representation, not an abstract database row.
CDN invalidation must target the real cache key and be verified at the edge.
Common mistakes
- Sharing one strong ETag across different bytes.
- Restarting origin to purge a CDN.
- Serving stale sensitive data.
Review misses from this game
Related Backend Study Lab articles
Use the main site for deeper reading after playing.
Start here
Read deeper
Related Backend Study Lab tools
Use tools from the main site when you want to inspect real inputs.
FAQ
Short answers for how this game fits backend interview and study practice.
When is 304 correct?
When the client's validator still matches the selected current representation.
Does 304 include the full response body?
No. The client reuses its stored body.