Slow app? Learn how to improve performance
Today’s end users have high expectations when it comes to app performance. If your application has longer load times that normal, you need to make a change. Here are three tips to improve Mendix app performance. You can also join my webinar on December 12th to learn more app performance best practices.
1. XPaths Constraints and Data Retrievals
Retrieve actions are one of the most time consuming actions. Hence, it is important to optimize your database retrievals as much as possible.
The first thing you can do is optimize your associations; you do not need to call the same association multiple times.
For example, let’s say you are trying to retrieve all the students who have registered in grades less than 5 or greater than 7. Instead of going over the association twice to check for the grade level, you can go over it once.