cancel
Showing results for 
Search instead for 
Did you mean: 

Is possible to use cache buster with remote resources?

c_c2
Participant
0 Kudos

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,?

Accepted Solutions (0)

Answers (3)

Answers (3)

junwu
Active Contributor
0 Kudos

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....

c_c2
Participant
0 Kudos

Wu, what I asked in my title is "how to use cache buster with remote resources". One of cache buster objective is to "force" app clients to renew cached resources for new ones from time to time or when cache is marked as obsolete. However, per my known, is not possible to use cache buster with remote resources and that's my question. How to solve this?

junwu
Active Contributor
0 Kudos

if you are using cdn version of ui5, there is no update for the lib.....why you have to renew.....

c_c2
Participant
0 Kudos

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.

gregorw
Active Contributor
0 Kudos

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"