Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi there,
i am trying to list all my cache-keys in ApplicationContext.ApplicationCache.RuntimeCache. If i use RuntimeCache.GetCacheItemsByKeySearch i get an IEnumerable
I'm not aware of one using the new APIs. There is a deprecated method on the old cache that might do something like this (note the typo!):
umbraco.cms.businesslogic.cache.Cache.ReturnCacheItemsOrdred();
This returns a Hashtable (of DictionaryEntry items that have a key).
I imagine there must be a better way...
Hi Dan,
thanks for the input. I am affraid it is not the right way to go (using obsolete logic).
/René
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Is it possible to list all cacheKeys in RuntimeCache?
Hi there,
i am trying to list all my cache-keys in ApplicationContext.ApplicationCache.RuntimeCache. If i use RuntimeCache.GetCacheItemsByKeySearch i get an IEnumerable
I'm not aware of one using the new APIs. There is a deprecated method on the old cache that might do something like this (note the typo!):
This returns a Hashtable (of DictionaryEntry items that have a key).
I imagine there must be a better way...
Hi Dan,
thanks for the input. I am affraid it is not the right way to go (using obsolete logic).
/René
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.