Different SAPUI5 performance guidelines mention two key parameters, which seem to have similar nature, but slightly different explanation:
The most important setting here is
data-sap-ui-preload="async"
. This enables the runtime to load the modules for all declared libraries asynchronously in the background. This reduces the amount of requests sent by the client that could block each other.
The most important setting is
data-sap-ui-async="true"
. This enables the runtime to load all the modules and preload files for all declared libraries asynchronously, if an asynchronous API is used. Settingasync=true
leverages the browser's capabilities to execute multiple requests in parallel, without blocking the UI thread.
Could you please clarify what exactly the difference, when should I use one over another?