Can't have my Ionic app starting in less than 5.5 seconds


#1

Hi everyone!
I think I’ve implemented all existing recommendations to improve Ionic bootstrap time, but I still can’t have my app starting under 5.5 seconds on Android.

Things I’ve done:

  1. –prod flag in building
  2. updated ionic platform to the latest version
  3. lazy loading

My app is pretty small: just 9 pages and one services.

I’d like just to check if I’m missing something.

Thanks!


#2
  • What device are you testing on?
  • What is your ionic info output?
  • Native functionality via Cordova plugins?

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.


#3

Hey, thanks for your response.

  1. The device is a Samsung S4
  2. No Cordova plugins
  3. Here’s my ionic info output:

global packages:

@ionic/cli-utils : 1.3.0

Cordova CLI      : 7.0.1

Ionic CLI        : 3.3.0

local packages:

@ionic/app-scripts              : 1.3.0

@ionic/cli-plugin-cordova       : 1.4.0

@ionic/cli-plugin-ionic-angular : 1.3.0

Cordova Platforms               : android 6.1.0 ios 4.1.1

Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v7.2.0

OS         : macOS Sierra

Xcode      : Xcode 8.3.2 Build version 8E2002

ios-deploy : not installed

ios-sim    : not installed

For now, I Didn’t try the remote debugger.

Thanks!