Storage, Redis & Caching
CDN cache control
CDN caching follows the freshness and storage rules in RFC 9111. You learn how s-maxage, ETag and private responses decide what a shared cache may store and serve.
What you will be able to do
- Explain how a shared cache chooses a freshness lifetime from Cache-Control.
- Decide which responses must carry private or no-store headers.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Storage, Redis & Caching
- Distributed locks caveatsAdvanced · 5 min
A Redis lock uses a TTL and a random token, and it can still fail when the holder pauses past the TTL. You learn why a fencing token protects the resource itself.
- Hot key mitigationAdvanced · 4 min
A hot key sends all its traffic to one node, so adding nodes does not help. You learn how to find the key and choose between a local cache, client-side tracking and key…
- MinIO S3 compatibilityAdvanced · 4 min
MinIO implements the S3 API, but compatibility is a list of operations rather than a yes or no. You learn how to test each operation a tool needs before moving data.
- Data durability mathAdvanced · 4 min
A durability figure gives an annual loss chance per object, which multiplies out to expected losses at scale. You learn the arithmetic, and why it is not a backup plan.
- Recovery time objectivesAdvanced · 4 min
RTO and RPO are business targets for how long recovery takes and how much data may be lost. You learn how to measure both from real snapshots and timed restores.