Jake Archibald
Read post

Fetch streams are great, but not for measuring upload/downloading progress

Fetch streams are commonly misused for measuring upload/download progress, but they provide inaccurate results because they measure when data is buffered rather than actually transmitted. For downloads, Content-Encoding issues cause decoded chunks to exceed Content-Length values. For uploads, streams measure when fetch takes data from your stream, not when it's successfully sent over the network. XMLHttpRequest remains the best current solution for progress tracking, while a new fetch observer API is being developed to properly address this gap.

    #webdev#javascript
Sep 15, 2025•6m read time•From jakearchibald.com
Post cover image
Table of contents
Response streamsRequest streamsHow to measure upload progressBut in future…
57.7K Impressions
Jake Archibald's image
Jake Archibald

JakeArchibald provides insights into web performance optimization and frontend development best prac...

11 Followers

•

101 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard