How to simulate low bandwidth (network delay) in localhost ( running on wamp, windows XP) ? I was looking to set it on the server-side not on the client-side.
Network latency is the amount of time it takes for a data packet to go from one place to another. Lowering latency is an important part of building a good user experience. More on Performance.
You can do this by using a module for Apache called Bandwidth Mod. Even though this version is for Apache 2.2.14, I am using it on 2.2.21 without any problems.
Grab the bw_mod.dll file from the link above, and put it into the Apache modules folder (usually bin\Apache\Apache2.2.xx\modules
in your Wampserver installation folder) and then add this to your httpd.conf
file:
LoadModule bw_module modules/mod_bw.dll
BandWidthModule On
ForceBandWidthModule On
BandWidth all 50000
MinBandWidth all -1
Be sure to check out the readme file for this module as it comes with a lot of options.
Hope this helps !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With