In a properly configured Fiori Launchpad system the data requested by the server should be up to date with the UI5 Resources deployed on the ABAP Frontend server (typically cohosted with the Gateway server).
This article helps to
a) Identify whether a cache-inconsistency is relevant to your problem.
b) Indicates how to fix this.
The Fiori Cache-busting mechanism on the ABAP uses ui5 cachebusting tokens, e.g.
~02696CA62242C2C5DA00BA7EA2280BB9~5
to address resources of individual applications, e.g.
https://mydomain.xxx.de:8081/sap/bc/ui5_ui5/sap/ca_fiori_inbox/~02696CA62242C2C5DA00BA7EA2280BB9~5/Component-preload.j…
The suffix ( ~5 ) and path position (behind UI5 Application/BSP name /ca_fiori_inbox/ ) indicates that it is an per application/libary cachebuster token.
The ushell resources may use a generic cachebuster token ( ~C )
If a newer version of application resources are deployed, the cachebuster token should change.
Analysis
Invoke the FLP with the cache-busting-mechanism disabled (sap-ushell-nocb=X )
https://mydomain.xxx.de:44355/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=1...
In a network trace, you will see that resources are now loaded without a cache-buster token. (and served without cache headers), thus
they source actually deployed resources on the server.
If the application runs this with setting, it's a strong indication reindexing the cache-busting tokens will address the issue.
If a a specific application is flawed one may then directly comparing the responses of individual files (typcially the component-preload.js
😞
In a consistent system the responses with and without cache-buster token in the URL should be identical:
Fire the request (e.g. by double clicking in the Chrome Network trace) .
https://mydomain.xxx.de:8081/sap/bc/ui5_ui5/sap/ca_fiori_inbox/~02696CA62242C2C5DA00BA7EA2280BB9~5/C...
Remove the Cachebuster token from the URL, fire again:
https://mydomain.xxx.de:8081/sap/bc/ui5_ui5/sap/ca_fiori_inbox/Component-preload.js#
Compare the results (typically comparing the length in the response , here 64235 is enough to tell a difference)
But you may also download the file and use a textual comparison/diff tool.
One can also check for the file content deployed within the mime repository
Solution:
If the response served from the servers are distinct, this indicates the Fiori Launchpad attempts to read stale resources from the server.
The server may still serve these old resources, as they are in the ICF cache.
(In a non-productive system or severe cases refreshing the ICF cache content may be a means to highlight more inconsitsencies, as, if this cache is deleted, the server may return with a 404 response for stale ui5 resources).
Solution