Skip to Content
0
Apr 27, 2016 at 02:22 PM

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

775 Views

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


Attachments

CachePuster.png (102.7 kB)