Configure the Micro Front-End (MFE) caching mechanism - HxGN SDx - Update 71.3 - Installation & Upgrade

Installation and Setup for HxGN SDx Application Server

ft:locale
en-US
Product
HxGN SDx
Search by Category
Installation & Upgrade

The Web Client comprises multiple Micro Front-Ends (MFEs) which display as pages inside the Web Client. By default, the MFE pages are cached by the browser which means that new changes are not always displayed. To change this, you need to implement an effective caching mechanism for MFEs by setting the caching header for each MFE index page.

  1. Open Internet Information Services (IIS) Manager.

    SHARED Tip You can use the command inetmgr to open Internet Information Services (IIS) Manager.

  2. Navigate to your web client site and expand its features folder. For example:

    This folder contains a separate sub-folder for each MFE.

  3. Carry out the following for each MFE folder:

    1. Select the MFE folder, for example export-data, and switch to the Content View.

      SHARED Tip The Content View button is at the bottom of the page.

    2. Select the index.html file and then, in the Actions panel to the right, select Switch to Features View.

    3. Double-click HTTP Response Headers, and select Add... in the Actions panel to create a new header.

    4. In the Name field, enter Cache-Control.

    5. In the Value field, enter no-cache, no-store, must-revalidate.

Once this is completed for each MFE folder, the MFEs will no longer be cached by the Web Client.