Quantcast
Viewing all articles
Browse latest Browse all 3131

Application Cache Buster in HCP

As described in this help link - Application Cache Buster - UI Development Toolkit for HTML5 (SAPUI5) - SAP Library - App Cache Buster is also supported on HCP.

 

We have the following code which works well when deployed on Prem.

<script

id="sap-ui-bootstrap"

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

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

data-sap-ui-libs="sap.m,sap.ui.comp,sap.ui.core"

data-sap-ui-theme="sap_bluecrystal"

data-sap-ui-resourceroots='{

    "com.x.y": "./",

    "webapp": "./webapp"}'

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

</script>

 

When we deploy the same code on HCP, get the following error:

  1. Request URL:https://webapp-<hcpaccount>.dispatcher.hana.ondemand.com/sap-ui-cachebuster-info.json?sap-ui-language=en-US
  2. Request Method:GET
  3. Status Code:404 Not Found

 

Observation:

URL formation for on-prem:

https://fqdn:port/sap/bc/ui5_ui5/sap/webapp/sap-ui-cachebuster-info.json?sap-ui-language=en_US

 

URL formation for HCP:

https://webapp-<hcpaccount>.dispatcher.hana.ondemand.com/sap-ui-cachebuster-info.json?sap-ui-language=en-US

 

Query:

Has anybody tried this out before and do we know of any solution ?

 

Regards,

Parag.


Viewing all articles
Browse latest Browse all 3131

Trending Articles