Caching examples
Here are a few examples to illustrate how our caching works:
Example 1
- Cache duration: 1 hour
- Refresh rate: 10 minutes (Auto)
While the dashboard is open, it checks if any of its charts have an updated cache version every 10 minutes, but the cached charts are only updated every hour (unless the cache is manually overridden).
Example 2
- Cache duration: 30 minutes
- Refresh rate: 1 hour (Auto)
While the dashboard is open, it checks if any of its charts have an updated cache version every hour, and cached charts are updated every 30 minutes (unless the cache is manually overridden).
If any other users load the dashboard between the 1-hour interval, or any viewers manually refresh the browser and the cache is expired, new queries are triggered and the cache updates.
Example 3
- Cache duration: 24 hours
- Refresh rate: On load
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 browser is manually refreshed or another user opens the dashboard. Cached charts are updated every 24 hours (unless the cache is manually overridden).