This wget recipe shows you how to make wget behave like it's on a slow connection. Use the --limit-rate option to throttle its download speed. This can help with testing or avoid saturating your network.

Set Download Speed to 512 KB/s

wget --limit-rate 512k https://google.com/testfile

This recipe uses the --limit-rate 512k argument to cap wget's download speed to 512KB/s. The k suffix means kilobytes per second. You can also use m for megabytes or just specify a raw number of bytes.

Set Download Speed to 1 byte/s

wget --limit-rate 1 https://google.com/testfile

In this recipe, we make wget download files at an excruciatingly slow rate: just 1 byte per second. Useful only for stress testing your own patience.

Simulate Slow Internet

wget --limit-rate 64k https://example.com/test.zip

Here we test how our site behaves on a slow connection. To do it, we set the limit to 64k (which is 64KB/s).

Created by Browserling

These wget recipes were written down by me and my team at Browserling. We use recipes like this every day to get things done and improve our product. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!

Secret message: If you love my wget recipe, then I love you, too! Use coupon code WGETLING to get a discount at my company.