$node.subtree question

Author Message

Georg Franz

Thursday 13 November 2003 5:00:36 am

Hi,

I've noticed that template var $node.subtree is available. That's a fine idea and very usefull.

I've checked {$node.subtree|attribute(show,2)} and noticed that each item has also it's whole subtree.

e.g. $node.subtree.0.subtree
e.g. $node.subtree.0.subtree.0 (and so on ...)

I am currently building a very large site. My question: If my content tree reaches a depth of e.g. 20 what will happens with the $node.subtree? If a user view my main node and the cache is empty will the system generates the $node.subtree var and put it and its subtrees (and so on) in the memory?

Suggestion:
I don't need the subtree of a subtree as default. If I want it I can use the fetch-function.

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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 19 2025 00:54:33
Script start
Timing: Jan 19 2025 00:54:33
Module start 'layout'
Timing: Jan 19 2025 00:54:33
Module start 'content'
Timing: Jan 19 2025 00:54:35
Module end 'content'
Timing: Jan 19 2025 00:54:35
Script end

Main resources:

Total runtime1.1994 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.1328152.6094
Module start 'layout' 0.00570.0030 741.742239.4141
Module start 'content' 0.00881.1892 781.1563469.4375
Module end 'content' 1.19800.0014 1,250.59388.1875
Script end 1.1994  1,258.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3160160.0002
Check MTime0.00150.1231160.0001
Mysql Total
Database connection0.00080.064510.0008
Mysqli_queries1.149295.8124460.0250
Looping result0.00050.0381440.0000
Template Total1.160896.820.5804
Template load0.00240.200420.0012
Template processing1.158496.575020.5792
Template load and register function0.00020.016310.0002
states
state_id_array0.00120.100510.0012
state_identifier_array0.00200.167820.0010
Override
Cache load0.00190.1599140.0001
Sytem overhead
Fetch class attribute can translate value0.00100.083410.0010
Fetch class attribute name0.00080.070420.0004
XML
Image XML parsing0.00430.361010.0043
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00650.5440160.0004
String conversion0.00000.000740.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs