Ionic-framework: Ionic 2 RC5 - Device Ready -Takes like 16 sec

Created on 20 Jan 2017  路  5Comments  路  Source: ionic-team/ionic-framework

Ionic version: (check one with "x")
[ ] 1.x
[ x] 2.x

I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Expected behavior:

Device READY should be FIRED within 5 secs

Current behavior:

A brand new ionic app RC 5 would take close to 8 sec to bootup. If u add fontawesome and our styles then the app boot time is around 16 secs. Tried both adding, removing plugins, adding and removing platforms..no use..the app takes like 16 sec to bootup.
Device READY FIRED AFTER 16549 ms

screen shot 2017-01-19 at 8 11 18 pm

Most helpful comment

Did you try to run it with the --prod command?

All 5 comments

Did you try to run it with the --prod command?

This is related to build, and not running build with --prod, which was introduced in 0.0.47 of app-scripts.

https://github.com/driftyco/ionic-app-scripts/blob/master/CHANGELOG.md#0047-2016-12-12

That fixed it. Thank you.

--prod works for me too!

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MrBokeh picture MrBokeh  路  3Comments

gio82 picture gio82  路  3Comments

fdnhkj picture fdnhkj  路  3Comments

BilelKrichen picture BilelKrichen  路  3Comments

alexbainbridge picture alexbainbridge  路  3Comments