Skip to Content
avatar image
Former Member

SAPUI5 Cache Buster

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:

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 09 at 05:34 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 09 at 04:32 AM

    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.


    Add comment
    10|10000 characters needed characters exceeded

  • Aug 12 at 11:44 AM

    I am also sailing in the same boat, when I run /UI5/UPDATE_CACHEBUSTER, it says:

    Add comment
    10|10000 characters needed characters exceeded