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

Episerver 10 - Dynamic Data Store How to flush cache

Vote:
 

Doesn't seem like anyone knows how to disable the dds cache.  Does anyone know how to flush it?

Thanks

Peter

#187529
Jan 25, 2018 8:43
Vote:
 

You can get the configured instance of EPiServer.Data.Cache.CacheProvider from IOC container or through its static property Instance. On that instance you can call either Clear() which will clear all items regarding on store or you can call ClearStore(string storeName) to clear all items for a specific store.

#187537
Jan 25, 2018 12:55
* 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.