eZ Community » Forums » Developer » List of design activated and overload...
expandshrink

List of design activated and overload during cache compilation

List of design activated and overload during cache compilation

Monday 26 March 2012 3:43:46 pm - 4 replies

Hello Guys,

I'm wondering if activating a lot of design in a siteaccess could have important effect for cache generation. 

For example if I have in site.ini :

[DesignSettings]
SiteDesign=mydesign
AdditionalSiteDesignList[]=ezflow
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base

As for the compilation process if I execute the eztc.php script it will compile template for all of these design, is there any side effect that could hurt my cache generation time ?

What do you guys usually do ?

 

Thank you

Modified on Monday 26 March 2012 3:45:56 pm by Matthieu Sévère

Tuesday 27 March 2012 11:16:19 am

Hi Matthieu, 

Certainly the template compilation time, which is sub-part of the whole page cache generation time after a full cache clear, is a function of the amount of designs present in your design cascade (scanning the various design folders). Not sure whether the function is linear or rather exponential-ish.

But this question is worth asking when the main performance pre-requisites have been alleviated ( average complexity of templates, best practices followed, content structure that minimizes the amount of object/content cache cleared, etc.. more on this here and here ), and when the frequency of cache clears has been estimated.

"Don't optimize performances before having performance issues", I heard several times happy.gif Emoticon

Using eztc.php will decouple the template compiling from the rest of the page cache generation time, thus reduce it I believe. So yes, it is a good idea.

Cheers,

Wednesday 28 March 2012 9:25:11 pm

Thanks Nicolas for your replies ! It confirms what I thought ! 

Wednesday 28 March 2012 10:31:37 pm

PS : only from benchmarks may the truth come happy.gif Emoticon 

Wednesday 28 March 2012 11:18:59 pm

French tuto... english translation coming soon happy.gif Emoticon

http://www.gandbox.fr/Blogs/Technologies-Web/Comprendre-le-fonctionnement-bas-niveau-du-cache-eZ-Publish-La-compilation-des-templates-Article-2

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from