Forums / Setup & design / CachedViewModes question
Jorge estévez
Thursday 25 December 2008 8:20:11 am
Hello,
I suppose that if I activate CachedViewModes not only for "full view" but for line and other personalized views I have created it will increase performance.
There is a note at the documentation that says:
<b>Note:Do not change this setting unless you know what you are doing.</b>
So, is if ok to add line to the list of CachedViewModes? as:
CachedViewModes=full;sitemap;pdf;line and so on
thanks
Diseño Web Cuba Web Design Cuba www.elfosdesign.com
Gaetano Giunta
Friday 26 December 2008 6:40:46 am
The view cache creates one cache file per node viewed.
Enabling it for line view is thus mostly useless, unless you want users to browse to the line view of content.Since by default users use only the full view mode for browsing the siten CachedViewModes has been set to only 'full'.
There is no big risk in altering it, except this: when eZP clears any cached files as result of eg. publishing anew content, it will stop counting the files to be cleaned after reaching 60, and declare all the cache invalid.You just need to be sure that you do not have so many templates to be cached that you hit sixty all the time.
Principal Consultant International Business Member of the Community Project Board
Friday 26 December 2008 7:57:27 am
Thanks,
My site uses more line views than full views as users must browser within "directories trees" to "reach" one of the nodes at the end of the tree that has products, there are 3000 or more nodes that display as line views. So I was wondering how to cache the line views to get the most of speed...
I have lots of nodes displaying in line view (and lots of those nodes has as full view other bunch of nodes in line views, etc.)
The limit of 60 I cannot understand.I really do not know if CachedViewModes will be good for me or not.