Configure Data Cache
Tableau Server on Windows now includes Tableau Services Manager (TSM), which replaces the Configuration Utility and the command line tool. If you need help for an earlier version of Tableau Server, see the Tableau Help page.
Views published to Tableau Server are interactive and sometimes have a live connection to a database. As users interact with the views in a web browser, the data that is queried gets stored in a cache. Subsequent visits will pull the data from this cache if it is available.
By default, Tableau Server will cache and reuse data for as long as possible. You can change this behavior by configuring the caching option.
Log in to TSM:
tsm login -u <name>
Run this command:
tsm data-access caching set -r <value>
Where <value> is one of these options:
- low. This is the default and configures Tableau Server to cache and reuse data for as long as possible.
- <n>. "<n>" specifies the maximum number of minutes data should be cached.
- always or 0 (zero). These values indicates that the cache should be refreshed each time a page is reloaded. This is the default value if no value is specified
Apply changes with the
tsm pending-changes applycommand. This will restart Tableau Server.