Caching

CDN or app cache?

You serve public product images and a personalized “recommended for you” JSON feed. Which of these should use a CDN edge cache, which should use an authenticated app/Redis cache, and why? What goes wrong if you mix them up?

Beginner drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson