Some pages in the Web Client are automatically cached and stored for better performance and recall. However, that cached copy might preserve outdated settings. If you want the browser to only use the latest settings and version of a page, you can disable browser caching.
This procedure only applies to systems deployed on-premises. If your system is deployed in Smart Cloud, please file a request with the Smart Cloud support team. See Contact the Smart Cloud Support Team for more information.
-
Open the web.config file (located in [installation location]\SDx Server Files\Web_Sites\[Site Name]).
-
Add the following elements to the <configuration> section.
<location path="sharepoint-configuration.json">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
<location path="settings.json">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
<location path="client-config.json">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
<location path="version.json">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
If you want to enable caching again, remove the entries from the configuration setting.