Skip to Content

Cache Buster - Changes not reflecting

Hello All,

I am trying to test the cache buster functionality by making a change in extended application

(Fiori My Timesheet). After making the changes, I am executing the programs /UI2/INVALIDATE_GLOBAL_CACHES and /UI5/APP_INDEX_CALCULATE(Only for timesheet application) in the sequence.

Our Launchpad URL is a default url '/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html', we have created an external alias with alias url as /sap/bc/ui5_ui5/ui2/ushell/shells/abap and Trg Element as /sap/bc/ui2/flp.

Even after performing the steps, the changes are not reflecting in the browser. If I Empty the cache and hard reload the application, the changes are appearing in the screen.

We don't want the users to clear the browser/device cache manually whenever there is a change in the application.

Please suggest what is missing to achieve this.

Thanks,

Kishore.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 20, 2017 at 03:20 PM
    -1

    Hello All,

    The problem is the case sensitivity of the component name. The launchpad customization was done with application name in all capital letters.

    Changing it to all small letters solved the issue. Though its a strange thing its how it behaves.

    Thanks,

    Kishore.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2017 at 06:48 AM

    are you changing css part and its not reflecting? I think cache buster doesn't handle css part.

    Add comment
    10|10000 characters needed characters exceeded

    • I think, i18n changes also is not handled by cache buster.

      what cache buster does is: scripts versioning meaning read all scripts only, change the script file name with appending some timestamp etc. and load these scripts, so that every time a new version of scripts will be loaded.

      regarding your observations:

      browser keeps cache along with few parameters like userid/name/timestamp and expiry datetime.

      And cache data will be destroyed automatically once cache memory is full or its expired.

      So behaviour may not be same/consistent.

  • avatar image
    Former Member
    Sep 05, 2017 at 09:57 AM

    Hi Kishore,

    We are also facing the same issue : UI changes are not reflecting the app level and also at the brower level.Followed the same steps which is suggested by you , can you please let us know where exactly he changes are done at the launch pad customization .

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Satyavathi,

      In transaction LPD_CUST you have to make sure the component name should be in all small letters. The same applies for component.js file.

      Thanks,

      Kishore.

  • Aug 12 at 08:15 AM

    Try using following URL in your apps index.html

    <script type="text/javascript" 
      	src="https://openui5.hana.ondemand.com/1.54.6/resources/sap-ui-cachebuster/sap-ui-core.js">
    </script>

    Also try to perform following activities:

    1.Clear the server http cache Go to the transaction SMICM. Goto -> HTTP plugin -> Server cache -> Invalidate Locally and Globally.

    2. Clear metadata cache Transaction: /IWFND/CACHE_CLEANUP on Gateway Transaction: /IWBEP/CACHE_CLEANUP on Backend and Gateway

    3. Synchronize chip cache Run the report /UI2/CHIP_SYNCHRONIZE_CACHE. Make sure there is no error in the table /UI2/CHIP_CHDR Run the report /UI2/DELETE_CACHE_AFTER_IMP. /UI2/DELETE_CACHE

    4. Run cache buster Run the report /UI5/UPDATE_CACHEBUSTER.

    5. Clear local browser cache

    6. Run reports /UI2/INVALIDATE_CLIENT_CACHES, /UI2/INVALIDATE_GLOBAL_CACHES & /UI5/APP_INDEX_CALCULATE in SE38. Use Full Calculation in last one.

    Add comment
    10|10000 characters needed characters exceeded