15

I am developing a JS+CSS+HTML Webapplication that is deployed on a local Apache. For debudding, I want to simulate a slow connection.

What is the best way to do that? I am not looking for a way to slow down my actual connection, just the loading this page (e.g. a Chrome/Opera Extension or an Apache module)

Thorben Croisé
  • 12,407
  • 8
  • 39
  • 50

4 Answers4

11

Turn on developer mode and then go to enter image description herenetwork tab, you will be able to see the throttling option drop-down option, change the network type from there. See the screenshot.

Tausif Anwar
  • 1,237
  • 1
  • 10
  • 21
10

New chrome browser has "Throttling" option in "Network" tab in Dev tools. Good Luck

Piyush Katariya
  • 655
  • 8
  • 11
  • 1
    "Good Luck"?! What do you mean? It works very well. – Thorben Croisé Nov 20 '15 at 07:38
  • 2
    Confirmed, works well. Side note: It's been 7 years, but I think what Piyush meant with 'Good Luck' is that they guided you to the new Chrome browser feature then wished you good luck hopefully that would solve your problem, a good way. It was actually an honest, warm and sincere 'Good Luck'. However, only Piyush can truly elaborate the truth behind what they meant by saying 'Good Luck'. But even if they did, would you believe them? Only time.. will tell. – jack Jan 11 '22 at 23:13
  • 1
    It was just warm gesture from my side. Actually I meant "Good Luck with your web project task at hand". – Piyush Katariya Jan 21 '22 at 05:24
9

If you are on a Mac, this might be of interest - it allows you to simulate different network conditions.

https://apple.stackexchange.com/questions/24066/how-to-simulate-slow-internet-connections-on-the-mac

See the second answer (and give credit for the answer) by Randy6T9

Speed Limit is a System Preferences pane for intentionally and selectively slowing down specific ports and domains

Community
  • 1
  • 1
  • I found this answer and I think this slows down my connection in general. Something I would prefer not to do and I am pretty sure this will not affect my local apache – Thorben Croisé Aug 27 '13 at 08:18
  • 1
    @Tobo Don't forget the second answer by Randy6T9 who recommended Speed Limit, apparently it works really well for localhost. –  Aug 27 '13 at 12:13
  • Thanks for the hint, didn't read that. Just tried it and it works well. I am tempted to accept your answer, could you please mention the second answer and it's link directly? – Thorben Croisé Aug 28 '13 at 07:20
  • @Tobo Hopefully that tidies things up. –  Sep 02 '13 at 12:49
0

I use Charles Web Debugging Proxy, seems to do the job well.

Hamish
  • 22,860
  • 8
  • 53
  • 67
  • this works well for anything but localhost it seems ... – Thorben Croisé Aug 27 '13 at 08:24
  • No, should work for any host, including local loopback. – Hamish Aug 27 '13 at 08:40
  • Couldn't find a way to make it slow down my local loopback, but I could map a local folder, which does the trick for me – Thorben Croisé Aug 27 '13 at 09:37
  • @Tobo Often, proxy-settings by default says "do not use this proxy for localhost". Have you tried disabling this? Example picture (see the "no proxy for" setting): http://en.flossmanuals.net/bypassing-censorship/ch038_socks-proxies/_booki/bypassing-censorship/static/CircumventionTools-WhatIsAProxy-6a-en.jpg – Plux Apr 11 '14 at 11:18