SpinTheMic
Pro

Interview practice question

Designing a prefetching strategy

Frontend Engineering · Async JavaScript and the Browser · Experienced

You want navigations in your app to feel instant without wasting users' bandwidth. How would you design prefetching?

What a strong answer covers

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

  • Prefetch likely next routes (hover, viewport, analytics).
  • Speculation Rules API for MPAs.
  • Respect Save-Data and slow connections.
  • Prioritise critical resources (preload).
  • Measure hit rate and waste.
Practise this topic

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

See all topics