All jobs / Frontend / web developer / Performance

Frontend / web developer interview question · 5+ years

Personalized HTML at the edge versus cache hit ratio — how do you decide?

The strongest answer

Cache the shared shell, vary on explicit keys, and keep personal data in the client or short-lived fragments — never cache Set-Cookie HTML as public

Why it works

Edge helps when the key is honest. Personal HTML in a shared cache is a privacy incident.

What a good answer covers

Answers that fall short

Who gets asked this

More Performance questions