SaaS CMS has officially launched! Learn more now.

Episerver 6 use the 'System.Runtime.Caching' ?



Does Episerver 6 use the .NET 4.0 'System.Runtime.Caching' for its caching of pagedata?

Somebody has more information?



Oct 06, 2010 16:06

No, since .NET 4 is not a requirement for CMS 6. It uses System.Web.Caching.Cache. I think however that it is possible to create your own implementation of the EPiServer.BaseLibrary.IRuntimeCache interface to change this behaviour.

Oct 07, 2010 9:21

Thanks! Based on the documentation you provided the provider seems to be customizable.

The class EPiServer.CacheManager has been expanded with a RuntimeCache property to allow developers to access an instance of the runtime cache. In addition, the following static helper functions have been added to this class



Edited, Oct 11, 2010 12:53

This blog post (which is actually about something else) by Ted shows how you can use the ClassFactory class to register your own implementation of the IRuntimeCache:

Oct 11, 2010 13:43
* 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.