cancel
Showing results for 
Search instead for 
Did you mean: 

Caching issue when developing with Fiori Elements

carlonnheim
Participant
0 Kudos

Hi,

I am having caching issues when developing Fiori Elements apps. In particular it seems the apps are not reloading XML view assets, for example when using custom fragments or when working with freestyle-based apps importing FE templates as described here.

Even if I disable caching, clear caches, trigger "empty cache and hard reload" in the browser etc., the app is picking these XML assets from a cache somewhere. I am not even seeing the requests for the XML files in the network logs.

If I make a modification to the manifest.json file (seems any change will do) or start an in-private browser the caching problem will go away. Works, but very impractical.

Does anyone recognize this problem and know how to fix it?

Thanks!

//Carl

View Entire Topic
maheshgonda
Product and Topic Expert
Product and Topic Expert

Hi,

I faced the same issue with BAS but by adding following parameter in URL fixed the issue.

sap-ui-xx-viewCache=false.

you can also hard code this in the package.json file as follows