Starting with SWAT 22.06, the following changes are available:
menustructure caching in memory was improved
Caching or not, can be set from the Application Settings: memoryCache.menus(yes/no, default no)
repository requests are stored in memory cache
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:
Code Block | ||
---|---|---|
| ||
akioma.MemoryCacheManager.deleteById('objectdesignerw');
akioma.MemoryCacheManager.enable();
akioma.MemoryCacheManager.disable();
akioma.MemoryCacheManager.clear(); |
For MenuStructureCache store:
Code Block | ||
---|---|---|
| ||
akioma.MenuStructureCache.deleteById('objectdesignerw');
akioma.MenuStructureCache.enable();
akioma.MenuStructureCache.disable();
akioma.MenuStructureCache.clear();
akioma.MenuStructureCache.isCacheEnabled(); |
For RepositoryCache store:
Code Block | ||
---|---|---|
| ||
akioma.RepositoryCache.deleteById('objectdesignerw');
akioma.RepositoryCache.enable();
akioma.RepositoryCache.disable();
akioma.RepositoryCache.clear();
akioma.RepositoryCache.isCacheEnabled(); |