jgero / roesena-app

Cross platform Web-App with user-created content and event manager
https://rösena.de/
0 stars 1 forks source link

Performance is bad #346

Open jgero opened 2 years ago

jgero commented 2 years ago

The page takes very long to load, especially the first page. This is probably because a ton of JS is loaded with ngrx, angular and material.... Some improvements need to be made for that.

Regarding the bundle size have a look at this article, it has some nice tips for analyzing and decreasing the size of the first module.

jgero commented 2 years ago

Also the development is sometimes very slow because of the amount of packages the app uses. Maybe remove all the testing dependencies, because they are not used anyways and don't have to be downloaded every time.

jgero commented 2 years ago

After updating the packages and analyzing the bundles it turns out that the angular rutime and firebase kit are the main culprits of the huge bundle size. This basically means there is no easy way of making the bundle smaller. Maybe just update the packages as the first step, because this itself reduces the size, and work on a bigger rework with maybe another framework.