Fiori Controller.js Changes not Reflecting without Modifying Component-Preload.js

I have a Fiori app that I need to customize in VS Code. The change is to be made in the Detail.controller.js file. I noticed that the changes I made in the Detail.controller.js file did not reflect until I made those exact changes in the Component-preload.js file.

Interestingly, I haven't encountered a similar situation with View files. Can someone shed light on why this behavior seems specific to Controller files? Does this imply that for code changes in Controller files, updating only the Component-preload.js file is necessary?

TIA, Ruzna


  • It might be cache issue. If you are deploying your application to SAP system after developments on VSCode then you can try below tcodes and programs to clean your cache. Then, hopefully, you can see latest developments. Also don't forget to try incognito mode on your browser.


    • /n/IWFND/CACHE_CLEANUP in gateway system
    • /n/IWBEP/CACHE_CLEANUP in backend system


    • /UI5/APP_INDEX_CALCULATE(run this one only for your app)