Follow these steps to apply performance best practices to your application.
In addition to applying best practices, always stay up to date with the framework, for instance via the SAPUI5 Release Notes and the What's New in SAPUI5.
- Use the UI5 Support Assistant to Check for Known Issues
- Enable Asynchronous Loading in the Bootstrap
- Make Use of the
sap.ui.core.IAsyncContentCreation
Interface or Ensure the Root View and Routing are Configured to Load Targets Asynchronously - Make Use of Asynchronous Module Loading (AMD Style)
- Use
manifest.json
instead of the Bootstrap to define Dependencies - Load SAPUI5 from the Content Delivery Network (CDN)
- Ensure that all Resources are Properly Configured to Avoid 404 Errors
- Use "manifest first" to load the Component
- Ensure that Library Preloads are Enabled
- Ensure that Application Resources are Loaded as Component Preload
- Check Network Requests
- Migrate
jquery.sap.*
Modules to their Modularised Variants - Migrate Synchronous Variants of UI5 Factories to Asynchronous Variants
- Use the OData V2 Model Preload
- Use OData Metadata Caching
- Use a
$select
Query when Binding an Aggregation - Limit the Loading of Data over the Network
- Check Lists and Tables
- Further Optimize your Code