Reputation: 100
I am developing an SAPUI5 application for our company. The application is served from our SAP NetWeaver system.
As the application is still under development and new features have to be tested, we noticed that the users do not get the updated version of the app immediately. So I often get emails on why they don't see the changes and I always have to tell to refresh the page.
Is there a way to make sure the most current version of the application is being loaded?
Upvotes: 0
Views: 5020
Reputation: 610
Hey i would say this is all about Cache Management in SAP Fiori/SAPUI5:
There are different Layers that handle caching:
SMICM
you can see for example that views/controllers of an UI5 Application are getting stored with an validity periodGood blog post about Cache Management in SAP Fiori
/UI5/APP_INDEX_CALCULATE
for your specific SAPUI5 application in your frontend server./IWFND/CACHE_CLEANUP
in your frontend server and the transaction /IWBEP/CACHE_CLEANUP
in the backend server./UI2/INVALIDATE_CLIENT_CACHES
if changed translations SE63
doesn't show up.So in developement & quality management system just run /UI5/APP_INDEX_CALCULATE
and /UI2/INVALIDATE_CLIENT_CACHES
and you should be good to go.
In Production take care, caching is all about performance, so if you clear all caches and your company has like 500 users opening Fiori Launchpad at 08:00 am things can get messy.
Upvotes: 3