Editing caches
Opening the Cache panel
The "Cache" tabulator of the workbench editor contains a table with all configured File-Caches.
For each cache, the table contains a number of columns with the following cache properties:
- Active: Only if this property is set to "true" (the default value), the cache will be used. You can disable a cache to test a model without a cache, e.g. when developing a cube.
- Name: The name of the cache. The name must be unique inside the model.
- Match expression: If this optional property is empty, the cache will store and deliver data for all coordinates. Otherwise, only coordinates for which this boolean expression returns "true" will be cached.
- Cron pattern: This cron pattern defines the frequency how often the cache will be synchronized and checked for outaged entries. You can use the edit button "..." next to the pattern to open the comfortable cron editor.
- Max age: This is the maximum age of cache entries. Whenever the system checks the cache (which is does as often as defined by the cron pattern), all entries older than this maximum age will be deleted from the cache. If this optional property is empty, no entry will outage at any time.
Editing Caches
Creating a new Cache
Like in all other property tables, you can use the "Add cache" button from the toolbar at the right border to create a new row and cache.
The new row contains a new cache with a generated name (which can be changed), no cron pattern, no maximum age and no match expression.
Changing the Cache order
Use the "Move up" and "Move down" button to change the order of the caches within the model.
The order of the caches can have an impact on the system, because the server tests the match expressions beginning with the first cache when loading or caching values. Therefore, if you have multiple caches and one cache without match-expression, this should be the last entry.
Deleting Caches
To delete a cache, select its row by clicking on the icon in the first row and use the "Delete cache" button.

