Event handler for time to first byte in browser?

123 views Asked by At

This question is similar but did not help.

Users upload files to our server for processing then download the result. This all happens within a single AJAX call on a web page.

Because the downloaded files are large, we would like to indicate when downloading has begun.

Is there an event that gets triggered when the first byte has been received?

We use jQuery so jQuery answers are ideal, but anything that works in pure JavaScript also works.

0

There are 0 answers