cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharathmg
Active Contributor
0 Kudos

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

Sharathmg
Active Contributor
0 Kudos

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

former_member467951
Participant
0 Kudos

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

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