KNOWLEDGE BASE

How to Disable Caching for Embedded Workbooks Using Embed Code


Published: 25 May 2016
Last Modified Date: 26 Sep 2017

Question

How to disable caching when initially loading an embedded view using the share "Embed Code". 

Environment

  • Tableau Online
  • Tableau Server

Answer

Add the below parameter into the embed code. 

<param name='refresh' value='yes' />

Example: 

<script type='text/javascript' src='https://10ay.online.tableau.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 1587px; height: 969px;'><object class='tableauViz' width='1587' height='969' style='display:none;'><param name='host_url' value='...' /> <param name='site_root' value='&#47;t&#47;....' /><param name='name' value='Excel_Cache_Test&#47;....' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='refresh' value='yes' /><param name='showShareOptions' value='true' /></object></div>
 
Did this article resolve the issue?