CDNs and HTTP caching

Lesson 6 of 26 · Building blocks and when they earn their place · 2 min Get the course to watch

The fastest request is the one that never reaches your servers. A content delivery network keeps copies of responses at locations near your users, and answers from there when it can.

You steer all of that with a handful of headers on your responses. Get them right and load drops. Get one wrong and you serve one person's data to another.

The rest of this lesson

  • What a cdn is for
  • The headers that decide
  • Staleness on purpose
  • What goes wrong
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.