Starting with SWAT 22.06, the following changes are available:

Caching or not, can be set from the Application Settings: memoryCache.menus(yes/no, default no)

Caching or not, can be set from the Application Settings: memoryCache.repository(yes/no, default no)

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


For all MemoryCache stores:

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


For MenuStructureCache store:

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


For RepositoryCache store:

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