SpinTheMic
Pro

Interview practice question

Caching pages that include personalised content

Frontend Engineering · Web Performance · Experienced

Your pages contain mostly shared content plus a personalised header, so they can't be cached at the CDN. How would you solve this?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Cache shared shell; fetch personalised parts client-side or via edge.
  • Edge-side includes / edge functions.
  • Vary carefully; avoid cache fragmentation.
  • Streaming with personalised segments.
  • Never cache private data publicly.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics