Forums / Install & configuration / smartcache and role issue: it works only with anonmous ?!?

smartcache and role issue: it works only with anonmous ?!?

Author Message

Xavier Dutoit

Thursday 25 January 2007 6:59:51 am

Hi,

I have a structure for news like that (ez 3.7.x) :
- news
-- cat1
-- cat2
--- sub cat 2.1
---- news A imported by RSS
---- news B imported by RSS
--- sub cat 2.2
---- news C imported by RSS
---- news D imported by RSS

On any cat1 or cat 2.1, I display all the news that are imported under it (a tree fetch).

On my viewcache.ini.append, I have

[news]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder
DependentClassIdentifier[]=link
DependentClassIdentifier[]=page
ClearCacheMethod=clear_object
MaxParents=10

News, cat1, sub cat 1.1... are either a folder, a page or a link

It works fine for anonymous and everything is properly recalculated every time you got a new import from the RSS. However, it doesn't clear the content cache for all the users having another role, and there the pages are never recalculated.

Is there a magic option to list all the roles that should be cleared with the clear cache ? Is this a known bug/limitation ?

X+

http://www.sydesy.com