Conrad caching

Conrad caching

Preparation for the caching part of the Conrad interview, written from your Conrad Caching note — HTTP cache headers and validation, Cloudflare's cache, Nitro's cache with Redis, and the cache layers of a large e-shop.

Written from your Conrad Caching note for the interview on 14 October 2026. The questions are general ones about caching, the kind an interviewer asks: how HTTP caching, CDNs and Nitro's cache work and how you would set them up for a large shop. They are not about Conrad's own configuration; the note is the map of what to know. The platform side (Cloudflare in front, CI/CD, Kubernetes) is in Conrad DevOps.

Know

PageCoversQuestions
Request path and cachingFrom URL to hydration, stale-while-revalidate, getting a price change through every layer, consent and A/B variants on cached pages, how you cached at Develit5
HTTP cachingCache-Control directives, freshness and validation with ETag and Last-Modified, weak tags, 304, private versus shared caches, proxies7
Cloudflare's cacheWhat Cloudflare caches by default, CF-Cache-Status, Cache Rules, edge versus origin for HTML, why a short shared cache is hard on Workers4
Nitro's cacheCached handlers and route rules, every option, the key layout, where entries live, sharing them through Redis, purging, what the browser should be told7
  • Drill them: Train, press Only next to Conrad caching, Smart order. Or open the note and press Practise … from this note.
  • Rehearse: run a mock interview with Conrad caching and Conrad DevOps selected.

Be able to say

Be able to say· How should a large e-shop cache, in one minute?

"Three layers. The browser keeps the hashed JavaScript, CSS and images for a year, because a change means a new file name, and it always revalidates the HTML with an ETag, so a deploy shows up on the next visit. The CDN sits in front as a reverse proxy: it caches those same static files and product images close to users, and adds the WAF and bot protection. The server is where the HTML is rendered, and that's where the rendered pages are cached, in Redis for about a minute with stale-while-revalidate, because the HTML has too many variants, by device, language, country and customer type, to live in a CDN. API responses are cached on the server for minutes to hours depending on the data, and never when they're personal."

Your notes

Open in Notes

Nothing yet. Notes filed here show up on every page of this section.