Page taking 5–12 seconds to load on first visit, but 1–2 seconds on subsequent loads — how to optimize first-time preload?
0
Hi everyone, I’m facing a performance issue in my Mendix app where a particular page takes around 5–12 seconds to load the first time, but after that, it loads in just 1–2 seconds, which is expected once things are cached. From the browser Network tab, I can see multiple JavaScript files, fonts, and SVGs being fetched on the first load — most of them served through the Service Worker. After this initial load, everything comes from cache and the page is very fast. Is there a recommended way in Mendix to optimize or reduce the first-time load (preload) for such pages?Some additional details: The environment is Mendix Cloud. Static resources (JS, fonts, SVGs) are being downloaded on the first load. After that, page transitions are very fast. I’m looking for best practices or configurations to help improve this first-time load — for example, whether Mendix provides options to preload or bundle resources differently, or any techniques used in production apps to make the initial page load faster. Thanks in advance!