In some web projects that I’ve been working on, I’ve been trying to make sure that the end user’s experience doesn’t become awful when there is network lag. There are tricks you can anticipate like putting
So I hacked together a small script to serve files with a randomized, simulated network lag. I run it on a local directory of files I want to serve, such as
Then I can test my webapp by changing the links to point to
If you’ve ever been in a similar predicament, you can check out the source at github.com or install it with
pip install softserve.
Any feedback would be appreciated!