I have an app where people download relatively large CSV files. Sometimes it can take a minute or more.
At 1 minute, I want to show a message about the long download time in the browser. How can I watch the download time / length that the request is open in PHP or JS?