Configuring Cache to Improve Performance
You must have the API Gateway's manage general administration configurations functional privilege assigned to configure cache.
![*](icon_task_xpe.png)
To configure cache to improve performance
1. Expand the menu options icon
, in the title bar, and select Administration. 2. Select General > Caching > Cache configuration.
3. Select the Cache name, from the drop-down list of available cache to be configured.
4. Select a value for the Percentage of cache in memory.
For example, you can set the value as 10%, 20%, and so on. If you do not select any value, the value is set to Auto scale by default.
5. Select Collect statistics to collect the required statistics for the selected cache.
6. Click
. The configured cache is listed in a table in the cache configuration section. If the configuration is set to Auto scale and Collect statistics is not selected then, by default, the cache is not listed.
You can edit or delete the cache configuration entries by clicking the icons in the action column.
7. Click Update.
This saves the cache configuration.
Note:
To enhance the performance of basic authentication scenarios at runtime, ACCESS_PROFILES cache type is always configured to 100% during restart of API Gateway. You cannot reconfigure the ACCESS_PROFILES cache from API Gateway user interface and Software AG recommends users not to modify the value of ACCESS_PROFILES cache type using REST APIs.