Interview practice question
Back navigation is slow because the page isn't restored from cache
Frontend Engineering · Async JavaScript and the Browser · Experienced
Analytics show back navigations on your site reload the page instead of restoring instantly. How do you diagnose and fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Test bfcache eligibility in DevTools.
- Remove unload handlers (including third-party).
- Avoid no-store where unnecessary.
- Close connections on pagehide.
- Handle restores with pageshow.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.