ExtractCacheOptions Class
Provides access to cache options of the Extract Data Source.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
Remarks
The Extract Data Source allows you to use an in-memory cache to improve the performance when accessing its data. This is achieved by reducing the number of requests to a data storage (e.g., a hard disk).
The ExtractCacheOptions class exposes the ExtractCacheOptions.DefaultCache property that allows you to specify the cache used to improve the performance when working with the Extract Data Source. You can use two cache types.
ExtractWeakCache is cleared after the connection to the Extract Data Source is closed.
The use of this mode is recommended when the dashboard is displayed in the WinForms Designer/Viewer.
ExtractPersistentCache becomes alive after the connection to the Extract Data Source is closed and uses the LRU algorithm to manage its data. For this cache type, you can specify its size using the ExtractPersistentCache.CacheSize property.
The use of this mode is recommended when the dashboard is displayed in the Web Dashboard.