3 ms·
How can you from JavaScript see how much of an asset has loaded?
by Kiro 5y ago
How can you from JavaScript see how much of an asset has loaded?
- frosted-flakes 5y agoPresumably this can be calculated server-side. So you could send the full size right away which the JS could use to calculate loading progress.
- still_grokking 5y agoYou mean we should invent something like the HTTP Content-Length header?