This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » eZ Flow » Viewcache problems with custom classes
expandshrink

Viewcache problems with custom classes

Viewcache problems with custom classes

Monday 10 August 2009 1:21:18 pm

Hi again, eZ Flow team!

For clearing the view cache of 'frontpage' objects, I am using rules like this:

[article]
AdditionalObjectIDs[]
AdditionalObjectIDs[]=XXX

and they are working ok. But I have a problem with view cache of objects of other custom classes that use the 'Layout' content class attribute. Even if I put their objectIDs in settings, their view cache is not cleared. I tried many kinds of viewcache rules like:

DependentClassIdentifier[]
DependentClassIdentifier[]=frontpage
DependentClassIdentifier[]=custom_class
ClearCacheMethod[]
ClearCacheMethod[]=object
ClearCacheMethod[]=parent
ClearCacheMethod[]=relating
AdditionalObjectIDs[]

but nothing works. The only way is to set cache_ttl to some value in the full view template of the 'custom_class'.

I want to ask if anybody had a similar problem and how it can be solved with viewcache rules.

Thanks in advance!

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from