Skip to Content
avatar image
Former Member

Is possible to use cache buster with remote resources?

Hello all,

I have a fiori standalone app that uses remote resources library, due to obsolete library on SAP system (strangely in order to update the library we need to update a lot of packages).

The use of remote library was due to the use of some components from the 1.46* version in the app. However, we need to use SAP cache buster in order to avoid cache problem each time we deploy new functionalities, but we did not find any mean of doing that with remote resources (hana.ondemand).

Does any of you managed to use cache buster with remote libraries,?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 02, 2017 at 12:52 PM

    In the OpenUI5 Slack channel Lukas Böhm posted the following:

    "I would use a specific version of UI5 (specified in the URL like this https://sapui5.hana.ondemand.com/1.46.6/resources/sap-ui-core.js). This has two benefits: First, caching is a benefit not a disadvantage. Second, the upgrade of the lib version is in the hands of the dev team and not in the hands of SAP"

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2017 at 02:41 PM

    Hi Gregor,

    I know that caching is a benefit, however, in this specific scenario, is not. Some of the key users of the app are not "tech experts" so if something changes on the app, we cannot say "please do a CTRL+F5". We want to force the cache clear.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 13, 2017 at 04:53 PM

    don't know what you are talking

    in title you are saying cache the cdn version of ui5 lib

    your reply says you are trying to avoid the cache of your own app....

    Add comment
    10|10000 characters needed characters exceeded