• Documentation

Examples for cache duration

The “cache duration”, “refresh dashboard”, and “check cache” settings for a dashboard work together to refresh the data on that dashboard. Learn more about these dashboard settings.

Here are some examples to help you understand how often Atlassian Analytics sends new queries to refresh the data on the dashboard:

Example 1

  • Cache duration: One hour

  • Refresh dashboard: When dashboard is open in the active tab

  • Check cache every ten minutes

While the dashboard is open in the active tab of your browser (in other words, while you’re looking at the dashboard), Atlassian Analytics checks every ten minutes if any of its charts have an updated cache. However, the cache for each chart is only updated every hour (unless someone manually overrides the cache).

Example 2

  • Cache duration: 30 minutes

  • Refresh dashboard: When dashboard is open in the active tab

  • Check cache every one hour

While the dashboard is open in the active tab of your browser (in other words, while you’re looking at the dashboard), Atlassian Analytics checks every hour if any of its charts have an updated cache. The cache for each chart is updated every 30 minutes (unless someone manually overrides the cache).

If anyone else loads the dashboard within the one-hour interval, or any dashboard viewers manually refresh the browser and the cache is expired, new queries are triggered and the cache for each chart updates.

Example 3

  • Cache duration: 24 hours

  • Refresh dashboard: When dashboard is first opened in a tab

While the dashboard is open, it displays the most recent cache result for each chart and sends new queries for any charts with an expired cache. The dashboard won’t perform any refreshes or check for cache updates until the dashboard viewer manually refreshes the browser or another person opens the dashboard. The cache for each chart is updated every 24 hours (unless someone manually overrides the cache).

Still need help?

The Atlassian Community is here for you.