Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to slow down webpage loading time?

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.


2 Answers

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

like image 131
ZubaiR Avatar answered Feb 13 '26 13:02

ZubaiR


Using internet explorer you can use aptimize latency simluator - his lets you simulate different connection speeds.

like image 36
Graham Ritchie Avatar answered Feb 13 '26 14:02

Graham Ritchie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!