ClearRelationTypes ini setting

Author Message

Nathalie Grimaud

Friday 23 February 2007 8:36:56 am

I've made some tests with the different possible values for ClearRelationTypes in viewcache.ini and I don't understand the behavior of "embedded" and "linked".

I've got an article with three relation types:
- image1 is inserted into an xml block using the insert object button
- image2 is inserted into an xml block using the insert link button
- image3 is added in an attribute as an object relation

Now the results:
ClearRelationTypes=common
image1 cache is cleared

ClearRelationTypes=embedded
no image cache cleared

ClearRelationTypes=linked
no image cache cleared

ClearRelationTypes=attribute
image3 is cleared

And the question is:
what is the "embedded" and "linked" values utility?

I hope that someone has the answer because it's a new setting (3.9) and the documentation doesn't talk about it.

Thanks
Nathalie

Kirill Subbotin

Friday 06 April 2007 7:44:51 am

Is it 3.9? Are you sure that ObjectRelationTyped=enabled ?

btw, in your example there are no brackets [] near the array, haven't you missed them in ini?

Nathalie Grimaud

Monday 09 April 2007 11:28:52 pm

Hi Kirill,

Yes it's 3.9.0
I did not changed the default setting ObjectRelationTyped=enabled.

I forgot the brackets [] in my post but not in the ini file.

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 11:39:37
Script start
Timing: Jan 18 2025 11:39:37
Module start 'layout'
Timing: Jan 18 2025 11:39:37
Module start 'content'
Timing: Jan 18 2025 11:39:37
Module end 'content'
Timing: Jan 18 2025 11:39:37
Script end

Main resources:

Total runtime0.5869 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.9063152.6250
Module start 'layout' 0.00710.0034 740.531339.4453
Module start 'content' 0.01050.5750 779.9766475.8047
Module end 'content' 0.58540.0014 1,255.78138.1641
Script end 0.5868  1,263.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6174160.0002
Check MTime0.00140.2349160.0001
Mysql Total
Database connection0.00080.135010.0008
Mysqli_queries0.539291.8789570.0095
Looping result0.00050.0932550.0000
Template Total0.556994.920.2784
Template load0.00230.390420.0011
Template processing0.554694.497220.2773
Template load and register function0.00010.023910.0001
states
state_id_array0.00080.136310.0008
state_identifier_array0.00070.118120.0003
Override
Cache load0.00190.3288300.0001
Sytem overhead
Fetch class attribute can translate value0.00140.233020.0007
Fetch class attribute name0.00110.184630.0004
XML
Image XML parsing0.00030.056920.0002
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00070.1170100.0001
String conversion0.00000.001740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/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: 24
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs