v4.OData: $metadata loaded very late
OpenUI5 version: 1.81.2 Bootstrap: data-sap-ui-async="true" manifest.json:
"": {
"dataSource": "mainService",
"preload": true,
When I start the application, the OData service metadata document is loaded very late, I can derive that from the network tab. I would expect it to be loaded shortly after the manifest. Additionally, the service metadata document is only loaded when the application has at least one binding to the model, for example <Table id="table" items="{/<collection>}". I would expect it to be loaded as soon as it is mentioned in the manifest.
Hello!
Thanks for your interest in OData V4. Early requests for metadata and security token explains how to send these requests earlier. Please check it out.
Best regards, Thomas