Skip to Content
0

Is possible to use cache buster with remote resources?

Nov 02, 2017 at 10:52 AM

68

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Gregor Wolf
Nov 02, 2017 at 12:52 PM
0

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"

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 13, 2017 at 02:41 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Nov 13, 2017 at 04:53 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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?

0

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

0