Skip to Content
Nov 28, 2017 at 03:19 PM

SAP MII UI5 Application Cache Buster not working

1204 Views Last edit Nov 28, 2017 at 03:46 PM 2 rev

I have not found a clear answer for this issue. UI5 application files are caching and are not updating when the files change on the server. The MII server installed on NetWeaver 7.5 AS Java is not creating the sap-ui-cachebuster-info.json file. Am I missing a step or is my project not structured correctly?

System information:

  • NetWeaver 7.5 AS Java
  • MII 15.1 sp 03 patch 16
  • SAPUI5 on server v1.38.11

On MII server web.xml file:

  • f:\usr\sap\M5D\J00\j2ee\cluster\apps\\xapps~xmii~ear\servlet_jsp\XMII\root\WEB-INF\web.xml
  • Added
<!-- ============================================================== -->
<!-- AppCacheBuster Filter                                          -->
<!-- ============================================================== -->

In the application Index.irpt:

  • http://<server name>:50000/XMII/CM/coeMES/Index.irpt
  • Component.js and manifest.json are in the same folder as Index.irpt
<script src="/sapui5/resources/sap-ui-cachebuster/sap-ui-core.js"

The server has been rebooted a few times when trying to troubleshoot this issue. I have found related support articles, but nothing seems to work (most seem to cover UI5 running on NetWeaver AS ABAP).

Enable Filter for JAVA Applications

App Cache Buster - for ABAP Server

MII Related Cache Buster Question - Enable Caching of JS Files

MII Related Cache Buster Question - Not Rebuilding File


webxml.txt (26.1 kB)