Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 862 Bytes

application-cache-buster-configuration-c1c3e2f.md

File metadata and controls

21 lines (13 loc) · 862 Bytes

Application Cache Buster: Configuration

The configuration data-sap-ui-app-cache-buster="./" must be added to the bootstrap script of the application page.

The following code shows an example how the configuration is added to activate the application cache buster:

<script id="sap-ui-bootstrap"
  src="resources/sap-ui-core.js"
  data-sap-ui-libs="sap.ui.core,sap.m,sap.ui.table"
  data-sap-ui-theme="sap_horizon"
  data-sap-ui-app-cache-buster="./"></script>

The parameter data-sap-ui-app-cache-buster is a string[] which means you can pass a comma-separated list of base URLs pointing to other applications which should be considered by the Application Cache Buster. By default it should contain the base path of your local application.

These base URLs are used to load the index files.