Page 1 of 1

Ionic 1 app long loading time when launch

Posted: Fri Sep 18, 2020 9:28 am
by khanh8609vnz3

I created one Ionic1 app, and this app now has nearly 70 pages so the loading time when the first launch took more than 50 seconds, it loads a lot of js file and then loads the HTML file, the layout will show after loading HTML file done.

How can I reduce this loading time to less than 10s, I already moved all service from global to their page dependencies but it only reduces 510s.


Re: Ionic 1 app long loading time when launch

Posted: Sat Sep 19, 2020 2:24 pm
by Oleg Solodiuk

Hello,

The general rule that can be used here:

  • is to reduce the amount of requests calls upon the loading of your app.
  • reduce the size and compression method of image files.
  • make UI design approach lighter and without complex nested elements on the app pages.

We suggest that you review the logic of your app and make it less than 70 pages.