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.

eZ debug

Timing: Jan 18 2025 16:28:18
Script start
Timing: Jan 18 2025 16:28:18
Module start 'layout'
Timing: Jan 18 2025 16:28:18
Module start 'content'
Timing: Jan 18 2025 16:28:18
Module end 'content'
Timing: Jan 18 2025 16:28:18
Script end

Main resources:

Total runtime0.6103 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.1484152.6406
Module start 'layout' 0.00460.0021 741.789139.4766
Module start 'content' 0.00660.6018 781.2656702.9531
Module end 'content' 0.60840.0019 1,484.218816.1484
Script end 0.6103  1,500.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5033160.0002
Check MTime0.00130.2187160.0001
Mysql Total
Database connection0.00070.120610.0007
Mysqli_queries0.550190.1335750.0073
Looping result0.00050.0837730.0000
Template Total0.581295.220.2906
Template load0.00190.307220.0009
Template processing0.579394.918620.2897
Template load and register function0.00010.014810.0001
states
state_id_array0.00070.120310.0007
state_identifier_array0.00120.196720.0006
Override
Cache load0.00160.2662380.0000
Sytem overhead
Fetch class attribute can translate value0.00040.068950.0001
Fetch class attribute name0.00080.1248110.0001
XML
Image XML parsing0.00170.276250.0003
class_abstraction
Instantiating content class attribute0.00000.0030120.0000
General
dbfile0.00120.2031370.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs