I would like to see how my website reacts to a slow connection.
Is there a way I can limit express to responding with slow speeds or delays? I know I can implement setTimeout
calls on paths, but what about static assets?
As I've mentioned in the comments, modern browsers support network speed simulation (and much more). Doing any programatic latency faking within your app is not a good approach because network simulation is difficult, it's hard to do it reliably and you could end up polluting your code a lot.
You should use a browser to do this:
There are also many other tools and resources you can use:
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