share
WebmastersHow can I simulate a slow connection for page load?
[+51] [8] Macha
[2010-07-14 23:12:13]
[ performance page-speed ]
[ http://webmasters.stackexchange.com/questions/861/how-can-i-simulate-a-slow-connection-for-page-load ]

I have a fast server, and a reasonably fast home Internet connection. How can I simulate my page loading on a slow connection?

Great question, I really want to know the answer too :) - DisgruntledGoat
(6) How about running BitTorrent at the same time :¬) - pelms
(3) You could come and use my connection… :-( - Jan Steinman
@pelms With mine it doesn't help, It can't make it slow enough... - Aznim
(1) Or try running the connection via the Tor Project proxies.. - pelms
@pelms both your comment suggestions should be combined into an answer. I think they fall into the "quick and dirty" solutions that, well, everyone likes :-) - Mario Awad
[+21] [2010-07-14 23:18:45] Adam [ACCEPTED]

FireFox Throttle [1] is a FireFox extension that should do it. Sloppy [2] is a proxy which slows down your connection so it should work across browsers.

Source: http://www.devcurry.com/2010/07/simulate-slow-internet-connections.html

MODERATOR EDIT 2013-02-02

This extension is no longer available.

[1] https://addons.mozilla.org/en-US/firefox/addon/5917/
[2] http://www.dallaway.com/sloppy/

(3) It appears the Firefox Throttle extension is no longer available. - Mark Stosberg
(1) If anyone wants to try and make it available again. github.com/hkirsman/Firefox-Throttle - Adam
Too bad Sloppy does not work with https: groups.google.com/forum/#!topic/sloppy-discuss/tOyCx7igfkw - Jess
1
[+20] [2010-07-15 00:11:02] Chris W. Rea

Fiddler Web Debugger [1] is an excellent HTTP proxy debugging tool for Windows that includes a modem speed simulation feature (Main menu > Rules > Performance > simulate modem speed).
Fiddler is freeware.

I also like Charles Web Debugging Proxy [2], a similar tool. Charles can also throttle the connection speed. Charles is commercial software, but has a free trial available. What I like most about Charles is that it is cross-platform: Being Java-based, it can run on Windows, Mac OS X, and Linux. (You didn't mention which platform you're on, but it's probably one of those :-)

[1] http://www.fiddler2.com/fiddler2/
[2] http://www.charlesproxy.com/

2
[+19] [2010-07-15 04:15:42] RandomBen

Try out http://www.webpagetest.org/test. You can run a test from any of their remote servers around the world and see how fast you page loads from those location. It will even let you use a dial-up speed or other slow speeds for most locations.


I tried this. Works very well. - txwikinger
3
[+8] [2012-09-12 09:14:35] biesiad

You can slow down specific resources with Deelay.me:

<img src="http://deelay.me/1000?http://mysite.com/image.gif">

Deelay.me [1] is a delay proxy for web resources. You can use it with your images/stylesheets/scripts, to increase their load time.

[1] http://deelay.me/

It's good to know such website, but OP wants to slow down the whole page, not only assets. - j0k
4
[+3] [2013-09-10 09:12:34] man

I assume the issue is the same one i have. When developing a web project internally, working on LAN servers, or VM, sometimes you need to simulate a real live scenario, as if the server load were high, in order to see how fast the page loads on the client side, and if some data that comes from the server, actually loads and doesn't mess up your client-sided functions, due to server behavior and delays. Since there is no perfect way of simulating real-case scenarios, the best thing is to make sure, that you fire events, only after the data has been completely retrieved from the server. Using the $.ajax complete function and async:false seems to do the trick so far. This ensures that whatever data-based event you need to fire, will not be executed unless the data exists.


5
[+2] [2013-02-19 09:51:32] matinfo

You can emulate various net speeds on a Mac using an free application called Speedlimit [1]

Speedlimit Description:

SpeedLimit is a Leopard preference pane for limiting your network bandwidth to one of a couple different speeds — 768k DSL, Edge, 3G, and Dialup. This is really handy for testing your iPhone app under normal Edge network conditions in the iPhone Simulator.

[1] https://github.com/mschrag/speedlimit

6
[+1] [2010-07-15 04:34:30] Cebjyre

A quick & dirty solution is to upload a large file to try to choke your outbound bandwidth, this should slow down your inbound connection, and is usually easier than trying to similarly choke inbound bandwidth.


7
[0] [2013-09-02 08:06:20] user1565578

Use a mobile phone to connect instead of fast home connection. Open multiple browser tabs with video streaming to further slow down the connection.


8