CodeIgniter Forums
Slow page load - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Slow page load (/showthread.php?tid=37647)



Slow page load - El Forum - 01-16-2011

[eluser]Muncken[/eluser]
Hi

I experience slow loading time at http://beta.enterthewod.com. I am actually not quite sure whether it is my internet connection that is plyaing around with me or not, can anyone tell if they experience slow page loading as well?

I am very careful that I only load models when they are needed and I am only autoloading the database library, url-, form and form_submit helpers.

Any suggestions why the site loads slow? On my local machine it takes no time. Or is it just my internet connection?


Slow page load - El Forum - 01-16-2011

[eluser]CroNiX[/eluser]
Could be a lot of things...
Speed of host computer...speed of datacenter where host computer is located...
inefficient code...

It takes about 1 second for the pages to load for me...not bad...

Have you profiled your application or benchmarked it?

Try adding
$this->output->enable_profiler(TRUE);
to your controller constructors and checking whats going on.


Slow page load - El Forum - 01-16-2011

[eluser]Muncken[/eluser]
Thanks for the advice with the enable_profiler. The data generated when I add it to my controllers seems fine. The host, www.one.com, is a great host, so I guess the problem is with my internet connection or something like that.

Thanks again