...
Despite the improved performance, repository caching is disabled, by default, as it can interfere with the development process.
As implied, once a screen definition has been cached, it won't take into account any additional changes done to the screen itself until the cached version is removed.
To activate it, one simply needs to add the caching service to the application's services XML file:
Info | ||
---|---|---|
| ||
<ttServiceLoaderRow> |
Configuration
The database repository cache service supports the following PASOE config XML entries:
...
As of SWAT Release 19.11.0, the repository cache service itself provides a clear cache method to clear all the screens matching the specified MATCHES pattern.
Info | ||
---|---|---|
| ||
DEFINE VARIABLE oCacheService AS Akioma.Swat.Repository.Cache.IRepositoryCacheService NO-UNDO. |
...
Info | ||
---|---|---|
| ||
DEFINE VARIABLE hDataset AS HANDLE NO-UNDO. |
...