.. _Cache_Config: ====================================== Cache ====================================== Introduction ------------------------------------------ * Izenda v3.3.0 and higher provides option to cache report or dashboard data so that the performance can be mitigated. Configuration ----------------- Configure to store cache on memory ====================================== In the Web.config (.NET 4.6.1) or appsettings.json (.NET Core), Configure to use ``MemoryCacheStore`` by ``izenda.cache.data.cachestore`` and also limit the usage by ``izenda.cache.memcache.datacache.maxmemusage`` For example: * Web.config: .. code-block:: xml * appsettings.json: .. code-block:: json { "izenda.cache.data.cachestore" : "MemoryCacheStore"/> "izenda.cache.memcache.datacache.maxmemusage" : "512"/> // Unit: MB, Minimum: 512 } Configure to store cache on disk ====================================== In the Web.config (.NET 4.6.1) or appsettings.json (.NET Core), Configure to use ``ExternalStorageCacheStore`` by ``izenda.cache.data.cachestore`` For example: * Web.config: .. code-block:: xml * appsettings.json: .. code-block:: json { "izenda.cache.data.cachestore" : "ExternalStorageCacheStore"/> }