Reset cached object - EPiServer.Common.Cache

Vote:
 

Does anyone know how I reset the cache for the minifeed and updated stories? 

I have a problem with added Authors (this works) to a story, not showing until Applicationpool is recycled or site restarted. 

I've tried;

CacheHandler.Instance.RemoveCachedObject(story.CacheKey);
CacheHandler.Instance.RemoveCachedObject(feed.CacheKey);
CacheHandler.Instance.RemoveCachedObject(actor.CacheKey);


and

CacheHandler.Instance.RemoveCachedObject(story);
CacheHandler.Instance.RemoveCachedObject(feed);
CacheHandler.Instance.RemoveCachedObject(actor);


The functions work, the problem is that the updated story won't show until site is restarted.  :-/

#122528
Jun 04, 2015 10:26
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.