Streaming, progress and beacons
Comes up in: Web fundamentals
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- reading
response.bodyas a stream - download progress
- upload progress (XHR still needed in many browsers — check fact)
navigator.sendBeaconandfetchkeepalive for analytics on page hidevisibilitychangeoverunload
Words you will know
What you will practise
- download progress bar
Interview questions this answers
- How do you show download progress with fetch?
- How do you reliably send analytics when the user leaves the page?