Skip to Content
0

Is there a way to force clients to reload JS-/UI5-sources from server?

Apr 06, 2017 at 08:38 AM

277

avatar image
D B

Hi all,

I am developing a JavaScript / SAPUI5 app. Therefore I often change my JS sources on the server. After this, the clients need to refresh their browser cache to see my changes.

Is there a way to force (always) the clients to automatically refresh the JS sources for the UI5 app?
Perhaps I need to set a version in some way. Do you have any information about this?

Thanks in advance.

Best regards

Dan

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

1 Answer

Best Answer
Srikanth KV Apr 06, 2017 at 05:32 PM
0
Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thanks, Srikanth. Looks good. I will try the app cache buster.

Best regards

Dan

0

Is there also a mechanism which does the same as the app cache buster for UI5 apps running in the HANA XS?

0

HANA XS doesn't support app cache buster.

In .xsaccess file use the below line which will resolve the cache issue

"cache_control" : "no-cache, no-store"
0