How do you simulate a realistic file upload time on your local machine using <input type="file"/>? How do you simulate a realistic file upload time on your local machine using <input type="file"/>? apache apache

How do you simulate a realistic file upload time on your local machine using <input type="file"/>?


You need to install libapache2-mod-bw

Then in your virtualhost config set:

<virtualhost *:80>    ...    BandWidthModule On     ForceBandWidthModule On    BandWidth all 80000</virtualhost>

This will set a 80 KB/s limit on uploads.