Forums / Developer / Smart viewcache clear setttings per class - not enough

Smart viewcache clear setttings per class - not enough

Author Message

Piotrek Karaƛ

Thursday 15 May 2008 4:19:20 am

Hi,

Smart viewcache clear rules are set per content class, which means that you can only define one MaxParents value for particular class, for example. Does anyone else see the need for a more complex assignment method, for example per class globally or per class+conditions?

Example: we like to have one class for comments, and usually there are multiple locations, classes and situations that users are allowed to comment. A general rule for all of those is usually not enough, for example some comments could only take care of their parents, while some should be able to go all the way to the root, if needed. Per class rules seem to enough only for very unique class/situation combinations...

What's your thoughts on this? Do you have similar needs? Or is there any other way of coping with that?

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu