Performance Issues : redirection & mxui.js flagged as render-blocking resource by google DevTools

0
Hi Everyone,   I'm working on a specific interface in my project which has some real inconsistent performance issues. This interface displays a datagrid inside a groupbox of all UserTask from each workflows grouped by topic, with a bunch of DataViews to display informations about the context object. See below :     There is 3 other identical datagrid on this page, I know it is not recommended to have this much data on one page but it was a deal-breaker from the client. (I made this interface in my early days as Mendix Developper, if there is a better way to so, please feel free to give me some advices)   Lately, we've been having some real inconsistent issues with the amount of time it take to load this interface. One moment the page loads instantly, another moment it takes 30+ seconds to load, this happening in a 5min timespan 16:55:26nginx/mwbn6request="POST /xas/ HTTP/1.1" status="200" request_length_in_bytes="1624" response_size_in_bytes="1197" response_time_in_seconds="34.448"   After optimizing my requests and wrapping my head around this problem I went and tried performance testing using Chrome DevTools.   Using the lighthouse, it highlighted a few issues I wasn't expecting.    - First : Redirection To me this isn't supposed to happen, and it might cause performance issues. If anyone knows how to prevent it ?   - Second : mxui.js flagged as render-blocking resource I think this is the core issue I need to deal with but I don't know how   - Third : ​​​​​​LCP is a text which is contained in a single DataView I feel like I have an issue with the text rendering otherwise there would be no way this one is flagged as I have other text in nested dataviews that should be the ones causing performance issues (from my understanding)   I'd like to highlight the fact that the loading issues only happens on cloud, locally it works just fine which is one of the reasons it took me so long to notice.   I also noticed watching the logs that when displaying this interface 100 requests are made (which is a lot but can be expected depending on the amount of lines to display and considering the amount of data dataviews)   You will find the Lighthouse report linked as a json You can use this link https://googlechrome.github.io/lighthouse/treemap/ and drop the json to view it.   It shows /mxclientsystem/mxui/mxui.js?638877444129321524 as 64% probably indicating me that the issue comes from this script but I don't know how can I even begin to fix it.   Any advice is welcome as I'm at complete lost of ideas Thank you for your time,    
asked
1 answers
0

Didn't link the json, here it is

lighthouse report

answered