Disable browser caching for Web Client site for specific files on IIS - HxGN SDx - Update 64 - Administration & Configuration

HxGN SDx Server Manager Help

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

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.

  1. Open the web.config file (located in [installation location]\SDx Server Files\Web_Sites\[Site Name]).

  2. 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>

SHARED Tip If you want to enable caching again, remove the entries from the configuration setting.