CacheManager

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 лет назад
Hi all,

I am working on a CategoryACL for 2.30 and its going really well, got it working more or less...

I have one HUGE blocker atm, cacheManager is caching categoryNavigation globally... which isnt pretty poor, as I need it to cache locally.

If there anything I can do in my plugin to sort out this issue?

thanks
12 лет назад
I think you should modify CatalogController (remove caching).
12 лет назад
Yeah, thats possible, I just wanted to be able to do it all from the plugin to make it easier for people to use :(

Can I build this change into the plugin, or is it a case of having to provider a new controller too?
12 лет назад
Not sure that it's possible. Maybe the easiest way will be to add a setting (in the further releases) which will indicate whether category navigation models should be cached. And all you will need to do is simply disable it
12 лет назад
yeah that would be great.
I saw this in the controller:

//TODO inject static cache manager using constructor
this._cacheManager = EngineContext.Current.ContainerManager.Resolve<ICacheManager>("nop_cache_static");

that TODO would be a great one to sort out :)
12 лет назад
Done. Please see changeset 1062d62a0fee
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.