Forums / Developer / Cache-block - array of subtrees for subtree_expiry param

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