Page tree

Versions Compared


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


Include Page


On this page:

Table of Contents

Target audience:

CAST AI Administrators

Summary: this page explains how to reload the Health Dashboard / Engineering Dashboard cache to display the most up-to-date snapshot data.


The Health Dashboard / 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:

  • if you have very recently generated a snapshot and were expecting to see this new data
  • if you have run a manual consolidation with GUI/CLI admin tools
  • if you have run a manual consolidation with GUI/CLI admin tools
  • if you have deleted an existing snapshot

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 ADMIN role in order to action this task.

Via the RestAPI interface

  • Browse to the following URL replacing server/port with the details of your environment:
No Format
Health Dashboard - http://server[:port]/CAST-Health/static/default.html
Engineering Dashboard - http://server[:port]/CAST-Engineering/static/default.html
  • if you are already logged in, click the Test button to ensure you have an active session:

Image Removed

  • You will get a response as follows:
Logged inNot logged in
Image Removed
Image Removed
  • If you are "logged in" you can proceed as below, otherwise, enter your user name and password and then click Login:

Image Removed

  • Once logged in expand the Help section and click the Reload server memory cache button:

Image Removed

  • The cache will then be reloaded with the most up-to-date data from the Measurement Service.

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:

No Format
Health Dashboard - C:> curl -u admin:cast -H "Accept: application/json" http://localhost:8080/CAST-Health/rest/server/reload
Engineering Dashboard - C:> curl -u admin:cast -H "Accept: application/json" http://localhost:8080/CAST-Engineering/rest/server/reload


DOCCOM:CAST Dashboard Package - Reload the cache
DOCCOM:CAST Dashboard Package - Reload the cache