Show TOC

Application Cache Buster: ConfigurationLocate this document in the navigation structure

The configuration data-sap-ui-appCacheBuster="./" 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-cachebuster/sap-ui-core.js"
  data-sap-ui-libs="sap.ui.core,sap.ui.commons,sap.ui.table"
  data-sap-ui-theme="sap_bluecrystal"
  data-sap-ui-appCacheBuster="./"></script>

The parameter data-sap-ui-appCacheBuster is a string[] which means you can pass a list of base URLs for other applications. By default it should contain the base path of your local application.

These base URLs are used to load the index files. This allows to handle not only the local resources via the Application Cache Buster. Furthermore other applications could then also be handled.