Forums / General / eZ Publish slow once a day
Emmanuel Averty
Wednesday 02 February 2011 12:37:20 am
Hi,
Each day, the first time I call eZ pages, the response time is very high (about 20 sec.). After calling each template I made once, the time to display a page become normal (less than 1 sec.).
I use view caching. Does this caching expire after a gap ? Where can I configure this gap ? Can I cancel this expiry ?
Thanks for your replies.
André R.
Wednesday 02 February 2011 1:38:38 am
cache-block expiry maybe combined with heavy logic in those templates?It's default set to 2 hours, and you can set it to 0 if you want to make it never expire:
http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-functions/Miscellaneous/cache-block/
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
Thursday 03 February 2011 1:11:14 am
Thanks for your reply André.I tried to put cache-block in my templates.
But the response time is still very long (more than 30 sec. this morning) even for the first pages : login page and front page.
In the debug view, I can see that «Template processing» is taking the most of time. I don't understand that rendering such a simple template (front page) takes so much time.
During the day, the more I logout and login, the faster the front page is rendered.
Any Idea ?
Friday 04 February 2011 12:06:02 am
I close this thread. My problem had nothing to deal with eZ.
Once again, thank you André for your reply.