cancel
Showing results for 
Search instead for 
Did you mean: 

App Cache Buster - File sap/zproject/sap-ui-cachebuster-info.json NOT found!

0 Kudos

Hi Experts,

I am experiencing a strange behaviour with the AppCacheBuster.

The application is running on SAP  Netweaver 7.4.

The web.xml has the following entry:

  <filter>

         <display-name>AppCacheBusterFilter</display-name>

         <filter-name>AppCacheBusterFilter</filter-name>

         <filter-class>com.sap.ui5.resource.AppCacheBusterFilter</filter-class>

  </filter>

  <filter-mapping>

    <filter-name>AppCacheBusterFilter</filter-name>

    <url-pattern>*</url-pattern>

  </filter-mapping>


The index.html looks like this:


<script

        src="resources/sap-ui-cachebuster/sap-ui-core.js"

        id="sap-ui-bootstrap"

        data-sap-ui-libs="sap.m"

        data-sap-ui-theme="sap_bluecrystal"

        data-sap-ui-xx-bindingSyntax="complex" 

        data-sap-ui-resourceroots='{"zproject": "./"}'

        data-sap-ui-appCacheBuster="./">

</script>


When running the project in Dev environment, the app cache buster works fine and the file sap-ui-cache-buster-info.json can be found in the network trace (F12 developer tools).


Once the application is moved to the test and the productive environment, the app cache buster is not working anymore, saying:


Has anyone any idea, what can be wrong? What can we check to resolve this issue?


Many thanks,

regards,


Thomas


Accepted Solutions (1)

Accepted Solutions (1)

MikeDoyle
Active Contributor
0 Kudos

Could it be that program /UI5/APP_INDEX_CALCULATE has been scheduled in dev, but not in test and prod?  I don't think the sap-ui-cache-buster-info.json gets transported along with the other files.

SAPUI5 Application Index

0 Kudos

Hi Mike,

great, many thanks, that worked for us.

Kind regards,

Thomas

Answers (0)