35
Views
1
Comments
Optimizing Script Loading Speed on Initial Web Application Launch
Question

Hey everyone, I'm encountering an issue with our web applications upon their initial launch. Whenever a page is loaded for the first time, it tends to stay blank for quite a while as it loads a bunch of scripts. The Initialize event kicks in about 10 seconds after attempting to access any page. I'm wondering if anyone has insights into whether this delay might be due to server resource constraints or if there are optimization techniques to speed up the loading of these scripts. Appreciate any help or suggestions

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

Performance tuning is an advanced topic, and there are many parts involved, some you have total control of, and others that are hard to manage. 

Apart from optimizing your code, you could resort to put a CDN in front of your OutSystems load balancers that handles minification of javascript and coaching of all static resources.

We have used Imperva in the past but you can also use for example AWS CloudFront.

You can use the Browser Dev tools to pinpoint the root causes of your performance issue. 

Regards,

Daniel 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.