Slow loading of uniapp can be caused by unstable internet connection or insufficient bandwidth, especially when using 4G network or in case of poor Wi-Fi signal.
Server issue: Slow server response times or high server loads can also cause slow initial loading if UniApp needs to retrieve data or resources from a remote server.
Large resource files: If the resource files of Uniapp (such as images, videos, audios, etc.) are too large, it will increase the loading time, especially in poor network conditions.
Insufficient code optimization: The structure of uniapp code is complex or there are performance issues, unoptimized code can result in slow initial loading.
Caching issue: If the browser cache is insufficient or not enabled, each time uniapp is loaded, resources need to be downloaded again, which can result in slow loading times.
Low-end devices or old devices with insufficient performance can also affect the loading speed of Uniapp.
Third-party plugins: If a large number of third-party plugins or libraries are used in Uniapp, these plugins may increase the page loading time.