Ionic 2 speed up boot time?


I have the same problem. My App starts in 17seconds!!! It’s not a joke.

After reading all this thread I can confirm the reduction in time to 6seconds more or less(it’s not to bad) in a Samsung Galaxy S5.

My system information is:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.0
Xcode version: Not installed

I change the compilation from

ionic build android --release


ionic build android --prod --release

This makes me the reduction in time at startup!!!

Best regards

1 Like

Please follow below steps to reduce splash screen time:-

First delete your node_modules folder
Delete any Temp Folder
Delete Plugins Folder
remove platform android using ‘ionic platform rm android’.
Now Reinstall Everything : - (i). npm install . (ii) ionic serve. (iii) ionic platform add android
Now run this Command FINALLY "ionic build android --prod"

If this doesn’t work please don’t giveup . Try above steps 2 to 3 times, I’m SURE this will work.

1 Like

Since it is not marked as solved i’ll give a very basic solution. This will definitely speed up the boot time of your app.

During the build just use this command
ionic build android --prod

Boot time will surely decrease after this. :slight_smile:
For my app the boot time from about 5 seconds lowered down to almost 2-2.5 sec.


@riteshbhat17 this worked for android build.
But what about ios build?
Do you have any solution for iOS build.? if yes then kindly share.
Thanks in advance.

i think same should work for ios since --prod implements AoT compilation so it doesnt matter if its android or ios

just use the ios build command

startup time is still unacceptable ! 7-8 seconds… it’s a bloody joke.

any ideas?


Create a new topic where you describe the problem and include some information on the platform, ionic info, devices etc.