Page tree
Skip to end of metadata
Go to start of metadata

Starting with SWAT 22.06, the following changes are available:

  • menustructure caching in memory was improved

  • repository data requests are stored in memory cache

In memory caching can be set from the Application Settings: memoryCache.menus(yes/no, default no). and from the memoryCache.repository(yes/no, default no)


MemoryCacheManager

Manager for all in memory cache entries. Can be used to disable or enable the MemoryCache globally for both menustructures and repository objects.

For all MemoryCache stores CLAPI methods have been implemented to clear all cache, enable or disable caching.

akioma.MemoryCacheManager.deleteById('objectdesignerw');
akioma.MemoryCacheManager.enable();
akioma.MemoryCacheManager.disable();
akioma.MemoryCacheManager.clear();


MenuStructureCache

Caching manager class useful for handling MenuStructure objects caching. Can be used as the Manager class but will only delete, enable, disable or clear the MenuStructure entries from the memory cache.

CLAPI methods have been implemented to clear all cache, enable or disable caching:

akioma.MenuStructureCache.deleteById('objectdesignerw');
akioma.MenuStructureCache.enable();
akioma.MenuStructureCache.disable();
akioma.MenuStructureCache.clear();
akioma.MenuStructureCache.isCacheEnabled();

RepositoryCache

Caching manager class useful for handling Repository objects caching. Can be used as the Manager class but will only delete, enable, disable or clear the Repository Object entries from the memory cache.

CLAPI methods have been implemented to clear all cache, enable or disable caching:

akioma.RepositoryCache.deleteById('objectdesignerw');
akioma.RepositoryCache.enable();
akioma.RepositoryCache.disable();
akioma.RepositoryCache.clear();
akioma.RepositoryCache.isCacheEnabled();



  • No labels