anthumchris / fetch-progress-indicators

Progress indicators/bars using Streams, Service Workers, and Fetch APIs
https://fetch-progress.anthum.com/
MIT License
360 stars 36 forks source link

Use Proper Restart feature #2

Closed anthumchris closed 6 years ago

anthumchris commented 6 years ago

A "Reload" button currently exists to start the test over by reloading the entire page. This was a fast solution, and ideally a "Restart" or "Run Again" button should be implemented to re-start the test without full page reload.

ReadableStream.cancel() can be used, which stops the network transfer and also currently shows partially loaded images, which is kind of cool for testing/observation load differences between Progressive and Baseline JPEG images