November Happy Hour will be moved to Thursday December 5th.

Remove or Bypass cache?

Vote:
 

I have a pretty simple question, but can't find a good solution.
I use: DataFactory.Instance.FindPagesWithCriteria

But even when i called the:  CacheManager.Clear() function , i still see cached values when debugging....

Can someone tell me what's a good way to bypass the cache? Performance is not really an issue since the function is not called to often.

#51405
Jun 07, 2011 15:01
Vote:
 

Could you articulate the caching issue you're running into?

I may be mistaken, but I believe FindPagesWithCriteria does not cache its resulting set of page data, but the page data objects individually should be added to the cache.  Those items should invalidate individually as they are modified.

Is this happening in a load balanced or shared database environment of some sort?

#51516
Jun 11, 2011 0:18
* 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.