Application performance plays a key role in client user experience and can be optimized by following certain standards and mechanisms, as follows:
- Cache optimization.
- Reducing the client-server calls (network traffic).
- Reducing the page size with caching.
- Reducing the request content.
- Optimizing the page layout.
- Lightweight mobile design.
Similarly, Oracle JET offers certain optimization recommendations separately for JavaScript and CSS.
The following are the optimization techniques for best JavaScript usage advised by Oracle JET:
- Minimize the JavaScript to the content required by a specific page.
- Use a minified version of JavaScript libraries.
- Reduce the content size to populate JavaScript.
- Lazy loading on initial request.
- Cache header usage.
- Payload compression.