SAP Knowledge Base Article - Preview

2517585 - When updating the SAP UI5 application (Fiori), the browser cache needed to be worked on - ways to simplify it

Symptom

  • Each time in the SAP Gateway system, the integrators/implementers/users are facing browser cache issue for any new code changes to the custom UI5 applications
  • Implementers/integrators/users are constantly running known cache programs whenever a new SAP UI5 modification is done with oData and ECC launchpad (lpd_cust)
  • The new changes are moved correctly but still some business users have to clear the Internet Explorer (IE) browser cache and temporary internet files manually to reflect the changes  
  • The code may even include cache buster in the UI5 projects:

    Java script and HTML command: <script src="resources/sap-ui-cachebuster/sap-ui-core.js" id="sap-ui-bootstrap"  data-sap-ui-libs="sap.m,sap.suite.ui.commons,sap.ui.commons"  data-sap-ui-theme="sap_bluecrystal" data-sap-ui-appCachebuster="./""></script>
  • Known working steps to push a change into production (Test case here shown was measured in the Internet Explorer browser - similar steps may work in other browsers):
    • List of Cache programs that are run after UI5 code movement  
      • /UI5/APP_INDEX_CALCULATE   
      • /IWFND/R_MED_CACHE_CLEANUP
      • /UI2/CHIP_SYNCHRONIZE_CACHE
      • /UI2/INVALIDATE_GLOBAL_CACHES
      • /UI2/INVALIDATE_CLIENT_CACHES 
      • /UI5/UPDATE_CACHEBUSTER
      • /UI2/DELETE_CACHE_AFTER_IMP
      • /UI2/DELETE_CACHE
    • With the steps above and to push the custom launchpad with multiple custom tiles in the Fiori Launchpad, the steps below show success in pushing the changes to production for Internet Explorer:
      • Instructions for clearing IE Cache and temporary internet files (This will be successful to see the changes in Internet Explorer):
      • *****************************************************  
        1. Look at the Cache (Browsing History).
        2. Close all browsers but one.
        3. Go to  Tools -> Internet Options -> Click on Delete Browsing History on Exit -> Click on Delete Button -> Select Temporary Internet Files;
        4. Cookies and Website Data; History; Download History; Form Data -> Click Delete.
        5. Wait for a small pop-up that says Internet Explorer has finished deleting the selected browsing history, then click Apply or OK and close that pop-up message.  
        6. Start Clearing Temporary Internet Files
        7. Go to Tools -> Internet Options -> Select Settings from Browsing History -> Select View Files from Website Data Settings Box  -> Control A (highlights all the temp files).
        8. Hit Delete key on your computer keyboard – you may have to do Control A/delete a couple of times if you have a lot of temp files
        9. Select “Yes” on “are you sure you want to delete selected cookies?”
        10. Close all browsers.
  • Are there known techniques to simplify caching in SAPUI5 or Fiori or NetWeaver Gateway?


Read more...

Environment

SAP NetWeaver 7.40

Product

SAP NetWeaver 7.4

Keywords

KBA , CA-FE-FLP-EU , Please use CA-FLP-FE-UI , CA-UI2-INT-FE , Please use CA-FLP-FE-COR , CA-UI2-INT-BE , Please use CA-FLP-ABA , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.