28 Apr 2006
03 Sep 2007
Link to this post
In researching which classes implement IPageCacheManager, I found Telerik.Cms.MemoryPageCacheManager and Telerik.Cms.DatabasePageCacheManager. I instantiated new objects as I did not find any helper objects on CmsPage then executed the Clear method with no success. The cached pages were still reflecting cached information.
My situation involves dynamically rewriting a menu name from "Sign-In" to "Sign-Out" depending on user login status.
On non-cached pages, the rewritten menu names appear as expected when a user signs out but on a cached page the "Sign-Out" remains although it should read "Sign-In". I observed this behavior both before and after using the cache clear methods noted above.
I did observe that when a page like a blog is selected it does refresh or clear the cache and the "Sign-Out" on the cached page would correctly reflect the updated "Sign-In" menu name. How does activating a blog correctly clear the cache?