Skip to Content

sap-ui-cachebuster-info.json not generated / Failed to load AppCacheBuster index file

Hi all,

I want to activate the Application Cache Buster for my custom UI5-App running on SAP NWGW 7.40.

I run /UI5/APP_INDEX_CALCULATE in order to generate sap-ui-cachebuster-info.json.

The message output sounds positive "Calculation for single SAPUI5 repository done. The corresponding SAPUI5 application index entry was updated".

After some debugging I found the generated information in table /UI5/APPIDX.

After some further investigation I have found the method /UI5/CL_UI5_APP_CACHE_BUSTER=>/UI5/IF_UI5_APP_CACHE_BUSTER~GET_INFO which seems to be in charge to create the json which will be transformed to XML and then stored in /UI5/APPIDX.

However, when starting the application using index.html, the json file, which should be generated before could not be found: "GET ...sap-ui-cachebuster-info.json?sap-ui-language=de-DE 404 (NOT FOUND)"

I have activated an SQL-trace but there seems no read access during on /UI5/APPIDX during application start.

I guess the sap-ui-cachebuster-info.json will be generated at runtime based on the info in /UI5/APPIDX? Or is there another programm which should create the json-file and add it to the BSP-application?

Kind regards

Oliver

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 12 at 11:28 AM

    Please share your your sap-ui-cachebuster-info.json file URL.

    If your app name is ZAPP1 and index.html file sits in ZAPP1/webapp, then you have to change data-sap-ui-appCachebuster="./" to data-sap-ui-appCachebuster="../"


    sap-ui-cachebuster-info.json is available in app root which is ZAPP1. Few minutes back i was also facing the same problem and now its working.

    Add comment
    10|10000 characters needed characters exceeded