Skip to Content
0

How to Empty Cache and Hard Reload in Chrome by JavaScript??

Jul 18, 2017 at 02:54 AM

150

avatar image
Former Member

I All,

I am getting issue while loading the latest changes in SAP UI5 Application.

For reflecting the latest change i have to do manually Empty Cache and Hard Reload but end user don't want to do these step.

So I need to do these steps by some Browser coding or some javascript coding in my Controller part.

location.reload(true) is not working.


Regard,

Rewati Raman

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

2 Answers

Ram Burugu Jul 18, 2017 at 05:04 AM
0

Just want to get your attention about SAP UI5 Cache Buster concept

https://sapui5.netweaver.ondemand.com/1.36.7/docs/guide/4cfe7eff3001447a9d4b0abeaba95166.html

Share
10 |10000 characters needed characters left characters exceeded
Sharath M G Jul 18, 2017 at 07:27 AM
0

Schedule to run the report - "/UI5/APP_INDEX_CALCULATE" in the backend SAP System.

This is an issue which is faced due to caching but the options are to refresh the cache from the backend. It should initiatite a request for new files and load the new files automatically.

Else, you can use the property in index.html to disable caching. However, that is not recommended and it is better to handle it by re-indexing the files from the backend.

Refer link: https://help.sap.com/saphelp_uiaddon10/helpdata/en/c5/e7098474274d3eb7379047ab792f1f/frameset.htm

Regards,

Sharath

Show 1 Share
10 |10000 characters needed characters left characters exceeded

One suggestion: Hope you can consolidate your issues with the available answers and close the multiple threads on the same issue. If you have anything specific yet related to cache, you could open a new post and follow it up.

Regards,

Sharath

0