on 02-08-2018 7:20 PM
Hi All,
I am trying to setup cache busting on a sapui5 application, however I keep receiving this error in the console:
Failed to load AppCacheBuster index file from: "http://website.com/sap-ui-cachebuster-info.json?sap-ui-language=en-US".
it seems the info.json index file is not generating.
So far I have the bootstrap like so:
<script id="sap-ui-bootstrap" type="text/javascript" data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.ui.ux3,sap.m,sap.viz" data-sap-ui-theme="sap_bluecrystal" src="https://sapui5.hana.ondemand.com/resources/sap-ui-cachebuster/sap-ui-core.js" data-sap-ui-appcachebuster="./"> </script>
Searching online suggests I should run /UI5/APP_INDEX_CALCULATE, however this report does not seem to exist in my system (SAP NetWeaver 7.40)
Any pointers would be greatly appreciated.
Thanks.
Hello ,
Can you please post the index.html file coding here, as well the program has been replaced with /UI5/UPDATE_CACHEBUSTER, please run it to generate the new tokens of cache buster
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Cody,
Cab you please let me know if you are using HANA cloud platform, if yes cache buster is not supported, please check the below link and let us know if you need any further details.
if you are using AS for ABAP, please change the src as below.
src="resources/sap-ui-cachebuster/sap-ui-core.js"
Hi Cody,
Have you modified the script tag in your index.html file as mentioned below ?
<script id="sap-ui-bootstrap"
src="resources/sap-ui-cachebuster/sap-ui-core.js"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-xx-bindingSyntax="complex"
data-sap-ui-appCacheBuster="./"
data-sap-ui-resourceroots='{"notification": "./"}'>
The attributes highlighted in bold should be added for cache busting on a sapui5 application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the response.
This is my bootstrap:
<script id=
"sap-ui-bootstrap"
type="text/javascript"
data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.ui.ux3,sap.m,sap.viz"
data-sap-ui-theme="sap_bluecrystal"
src="https://sapui5.hana.ondemand.com/resources/sap-ui-cachebuster/sap-ui-core.js"
data-sap-ui-appCacheBuster="./"> </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.