The development of my first EE site went great. Because of this good experience I decided to stick with EE. But 2 of my now 4 EE sites have very frustrating performance issues. It often takes 10 sec or so to load pages with almost nothing on them. This makes it almost unusable. I did develop all sites quite similar so it’s a mystery to me why some of them have those speed issues. Those sites with problems aren’t very complex. No third party extensions are in use and I’m pretty sure the traffic on this sites is rather low. I really don’t know what to do or what to look for in order to solve it. And I reached a point where I’m almost at a point thinking to give up using EE completely.
But earlier today I came across a forum thread that gives me hope. Someone had quite similar issues as I currently have:
http://ellislab.com/forums/viewthread/211614/
As suggested in this forum thread I opened the Template.php file and commented the following line out (around line 170):
//$this->EE->functions->clear_caching('page');...which improves speed dramatically for one of my problem sites. Why? What is it for exactly? And according the the forum thread this is just a problem identification and not a fix. So how do I fix this?? The forum thread sort of stops when it gets interesting. I’m also pretty lost when it comes to setting file permissions. The numbers don’t mean much to me and I’m never quite sure if I do this step right. Can incorrect/incomplete file permission cause loading times of 15 sec?