Forums / General / Website Speed Problem
Amal Haouet
Tuesday 24 August 2010 3:11:43 am
Hi guys!
I'm having a big problem with the speed of my website. It's too slow. Can it be linked to the ez publish platform? Have you ever had the same problem of slowness ?
Please answer me as soon as possible!
Thank you!
Carlos Revillo
Tuesday 24 August 2010 3:44:19 am
Hi there.
eZ Publish provides a lot of cache stuff to make your web works like a charm. It could be extremely slow if you don't use them.
At a first try i would try to see TemplateCache and ViewCache. If those settings are enabled, (i think they come like that by default) check also permissions for your [document_root]/var folder. User running webserver (www-data in debian based versions) should have the rights to write in that folder. If not, no cache will be generated...
Hope it helps.
André R.
Tuesday 24 August 2010 4:19:49 am
After that, enable site.ini\[DebugSettings] debug ouput (see settings/site.ini for settings doc), either by ip or by user id to be able to see how many database calls you have pr page and such.
If you have more then 5 then you need to look into your cache-block use and other stuff, if you have more then 100 then you have either a lot to do or you have forgot to enable some cache.
There is several old by still valid forum thread here somewhere about eZ Publish setup optimization that covers most of these things.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Romeo Antony
Wednesday 25 August 2010 1:43:16 am
Please read this article for better debugging and speed for your site
http://share.ez.no/articles/ez-publish/ez-publish-performance-optimization-part-2-of-3-identifying-trouble-spots-by-debugging
also enable the template compile feature in site,ini .
Check in debug results, how much time each templates taking to load. So you can understand where you need optimzations..
Regards
Romeo.