What can I do to slow down the page loading time. Is there any code that I can use in JavaScript, PHP, HTML or CSS to slow down page loading time without displaying anything else. This is for a function I want to test.
Asked
Active
Viewed 588 times
2 Answers
6
If this is your site you are using PHP you can put a sleep(5) to delay the page loading for 5 seconds.
If it is not, a possible option is to use a proxy server

ZubaiR
- 607
- 4
- 7
-
1+1 for suggesting a proxy server. This other StackOverflow question might be good reading: [Network tools that simulate slow network connection](http://stackoverflow.com/questions/1094760/network-tools-that-simulate-slow-network-connection) – Greg Burghardt Jan 23 '14 at 17:51
3
Using internet explorer you can use aptimize latency simluator - his lets you simulate different connection speeds.

GrahamTheDev
- 22,724
- 2
- 32
- 64