Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mimic 'slowness' of web server on local computer

Tags:

hosting

Is it possible to somehow mimic the slower download speeds of my website, as if it is hosted on a web server, but from my localhost?

It's hard to test things like Ajax loading icons when the content loads so quick from your local machine so I think this could help me out a lot?

I was wondering if there was a tool that you could use for this or if you'd need to use javascript to add setTimeout or setInterval code?

like image 576
Fermin Avatar asked Jun 23 '09 07:06

Fermin


1 Answers

If you are using Windows, then download the Fiddler tool Fiddler.

This will setup a HTTP proxy that you can use for testing HTTP headers and view all the HTTP traffic within the PC and browser. You can then use the Rules > Performance > Simulate Modem Speeds option to slow the browser's HTTP connection.

There is also a Fiddler Switch plug-in for Firefox available to toggle the Fiddler proxy.

like image 172
Luke Avatar answered Sep 23 '22 23:09

Luke