Hi there,
I'm currently trying to find ways to optimize the loading time of the most visited page of my CRM.
This page is taking some time to load completely.
After taking a look into the "Network" part of my chromium's web tools I noticed that a request is made MULTIPLE times for no particular reason.
It appears that some of the custom views (for fields) used in the children (hasMany) of my page are doing a
with a
of the entity the user is in.
It's not a problem to fetch the data like this but in the end this GET request is done at least 20 times (and it can be worse).
To add some precisions :
- The GET request is already did one time at the setup of the page. (It's the detail page of one of my custom entity).
Is there a solution for this king of problem ?
Firyo.
I'm currently trying to find ways to optimize the loading time of the most visited page of my CRM.
This page is taking some time to load completely.
After taking a look into the "Network" part of my chromium's web tools I noticed that a request is made MULTIPLE times for no particular reason.
It appears that some of the custom views (for fields) used in the children (hasMany) of my page are doing a
Code:
getModelFactory.create
Code:
model.fetch()
It's not a problem to fetch the data like this but in the end this GET request is done at least 20 times (and it can be worse).
To add some precisions :
- The GET request is already did one time at the setup of the page. (It's the detail page of one of my custom entity).
Is there a solution for this king of problem ?
Firyo.
Comment