Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagejs
akioma.MemoryCacheManager.deleteById('objectdesignerw');
akioma.MemoryCacheManager.enable();
akioma.MemoryCacheManager.disable();
akioma.MemoryCacheManager.clear();


For MenuStructureCache store:

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


For RepositoryCache store:

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