On this page:

Target audience:

CAST AI Administrators

Summary: this page explains how to reload the CAST Application Analytics or Engineering Dashboard cache to display the most up-to-date snapshot data.


The Application Analytics Dashboard / Application Engineering Dashboard features a data cache to improve the speed at which data is displayed in the dashboard. This means that when requesting data, the dashboard may return data direct from the cache rather than fetching it from the Measurement or Dashboard Service. In turn, this means that data displayed in the dashboard may not be up-to-date. This is particularly true in the following situations:

To see the new data, you can manually force the cache to reload data from the Measurement or Dashboard Service, rather than waiting for it to do so automatically.

Note that you must login with a user that has the ROLE_ADMIN admin role in order to action this task.

Via the RestAPI interface

AAD - http://server[:port]/CAST-AAD/static/default.html
AED - http://server[:port]/CAST-AED/static/default.html

Logged inNot logged in

Via a command line for automation

You can also reload the cache via a command line - this enables you to automate the process if you are using CAST's command line interface to automate an analysis, snapshot generation and upload of data to the Measurement Service. You can use a tool such as cURL to do so, for example:

AAD - C:> curl -u admin:cast -H "Accept: application/json" http://localhost:8080/CAST-AAD/rest/server/reload
AED - C:> curl -u admin:cast -H "Accept: application/json" http://localhost:8080/CAST-AED/rest/server/reload

Optionally, this command line can then be added to a batch file containing the command lines required for generating a snapshot.