Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.12 KB

Application_Cache_Buster_Configuration_c1c3e2f.md

File metadata and controls

29 lines (18 loc) · 1.12 KB
loio
c1c3e2f70066465dbb794c866b933ed5

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.