Cache-block - array of subtrees for subtree_expiry param

Author Message

Nabil Alimi

Tuesday 26 September 2006 2:39:39 am

Hi,

Is such a thing technically* possible ?

I've been checking the eZlib but i'm not sure about how the parameter is processed. I just hope that the path to the .cache file is not created with the subtree_expiry param...

Thanks in advance.

(*technically : even with a hum... patch :)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Nabil Alimi

Thursday 28 September 2006 12:56:26 pm

Well, i finally found a workaround but i'm still wondering if this is possible. :)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Xavier Dutoit

Saturday 30 September 2006 2:11:38 am

Out of curiosity, what's the workaround ?

X+

http://www.sydesy.com

Nabil Alimi

Monday 02 October 2006 1:18:30 am

It's a bit complicated.
But in my case, I had an "Bloc" contentobject that has properties. From those properties, a specific behaviour can be called. For example, displaying the 10 last articles. Stuff like that.

The previous treatement processed the "Bloc" using {include...}. But this way, the result of the process was no longer "linked" to the object. I changed this to using {node_view_gui...} this way, the ViewCaching was involved and the link between the output and the object was kept making possible to clear related caches.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Nabil Alimi

Tuesday 03 October 2006 1:59:52 am

Well, actually my workaround didn't workatall... :-/

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 31 2025 06:02:18
Script start
Timing: Jan 31 2025 06:02:18
Module start 'layout'
Timing: Jan 31 2025 06:02:18
Module start 'content'
Timing: Jan 31 2025 06:02:18
Module end 'content'
Timing: Jan 31 2025 06:02:18
Script end

Main resources:

Total runtime0.0212 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 588.3750151.2422
Module start 'layout' 0.00820.0037 739.617236.6953
Module start 'content' 0.01190.0075 776.312594.2031
Module end 'content' 0.01950.0017 870.515637.9922
Script end 0.0211  908.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002512.0279140.0002
Check MTime0.00125.4863140.0001
Mysql Total
Database connection0.00063.055710.0006
Mysqli_queries0.006329.544430.0021
Looping result0.00000.080010.0000
Template Total0.00125.910.0012
Template load0.00094.356610.0009
Template processing0.00031.517110.0003
Override
Cache load0.00062.904810.0006
General
dbfile0.002913.797480.0004
String conversion0.00000.047340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs