Correct settings for caching?

Author Message

Sven Ryen

Wednesday 11 June 2003 12:48:17 am

Hi!

I just read a tread from April stating that ProcessCaching should be _disabled_ in order to gain an increase in performance.

Does that still hold for version 3.0?

Could somebody please explain the recommended settings for all caching variables?

What will be done in 3.1 to speed up processing - I'm seeing significant CPU loads as pages are being generated. My current settings are:

EnableCaching=true
TranslationCache=enabled
NodeTreeCaching=enabled
ProcessCaching=disabled
ViewCaching=enabled
CachedViewModes=full;sitemap

Does adding all modes to the last variable speed up processing in any way? How does EZ determine what to "classify" as a mode?

Bård Farstad

Wednesday 11 June 2003 12:54:00 am

In 3.0 you should not use processcaching, it was not finished so it actually slowed down some pages. The NodeTree caching should be enabled with 3.0.

With 3.1 you should enable processcaching and disable NodeTree caching, as processcaching is faster than nodetree in 3.1. It also uses less memory.

--bård

Documentation: http://ez.no/doc

Paul Borgermans

Wednesday 11 June 2003 1:49:28 am

I thought the ProcessCaching directive is obsolete and now replaced by TemplateCompile=enabled. Am I missing something?

Anyway, NodeTreecaching and TemplateCompile seem to be mutually exclusive, now I fould out! Respons times are reduced by a factor of 2 to 3 in ly setup with respect to NodeTreeCaching=enabled.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Sven Ryen

Wednesday 11 June 2003 7:40:57 am

Paul - I cannot find TemplateCompile in my settings directory.. Is this a new feature in 3.1?

Jan Borsodi

Wednesday 11 June 2003 8:26:36 am

Yes, Template compiling is new for 3.1.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Bård Farstad

Wednesday 11 June 2003 9:54:40 am

Jan is right, processcaching is obsolete. It's replaced by template compilation.

-bård

Documentation: http://ez.no/doc

Olav Bringedal

Wednesday 28 September 2005 2:16:48 am

<quote>Anyway, NodeTreecaching and TemplateCompile seem to be mutually exclusive</quote>

Basicly solved here: http://ez.no/community/bugs/subtree_expiry


Senior Consultant
http://Umoe-consulting.no

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.