cancel
Showing results for 
Search instead for 
Did you mean: 

Correct src path for UI5 & Cachebuster

davidsigleinit
Explorer
0 Kudos

Hello all,

I have a question regarding the correct src path for UI5, as we had internal discussions if our current setup allows for the cachebusting mechanism to even work.

In our index.html we have it setup like this:

Is this the correct way to do it? Also will the cachebusting mechanism work with this setup? In our internal discussion it was brought up that the 'ondemand' might mean that the cachebusting mechanism will not work.

Would love to hear your thoughts!

Cheers.

junwu
Active Contributor
0 Kudos

you run your app standalone?

davidsigleinit
Explorer
0 Kudos

jun.wu5 I deploy the application to ABAP (deploy-to-abap) and develop in BAS, if that helps. I did not include my manifest.json, package.json, ui5.yaml or ui5-deploy.yaml as I don't think those are needed for answering this question at least. Correct me if I am wrong.

junwu
Active Contributor
0 Kudos

index.html is no use if you run your app in FLP.

Accepted Solutions (0)

Answers (1)

Answers (1)

AlexNecula
Active Contributor

Hi,

Based on the SAP documentation, that seems to be the correct path.

This being said, as far as I know, index.html is not used anyway after deploying to the ABAP server since the launchpad takes care of that part. The setting is useful for standalone apps or testing in BAS.

Alex