When using the .onprogress
event handler, how often should we expect the function to be called? My own simple testing has it firing only once, but that’s on my own server.
Most examples suggest you should be able to offer some feedback to the user, but that’s only useful if the event triggers often enough.
I am interested in both downloading and uploading files.
I have checked other Stack Overflow questions, but (a) they don’t have any accepted answers, and (b) they were more concerned with whether progress
was triggering at all, and put the problem down to system peculiarities.
I am interested in Pure Unadulterated Plain Vanilla JavaScript.