Guidance for PWA development

Stoked about Ionic’s new focus on Progressive Web Apps! :slight_smile:

However, I’ve experienced some issues when testing with the Lighthouse Chrome extension.
A fresh Ionic project with a modified index.html (commented out cordova.js, commented in the service worker) rendered the following results on localhost with $ ionic run browser:

I also recently made a very simple Reddit reader app doing a single HTTP request, and experienced perceptual speed index on > 11k.

Are there any CLI flags or optimisations I’ve missed even in the fresh project?

Also, what’s up with the "cannot read property 'ts' of undefined" error? I hope it’s easily fixable :slight_smile:

The start up time is known issue to the Ionic and Angular team. They are actively looking at it, and hope to have some improvements soon.

1 Like