Hi all, We're facing some problems when try to render the application in cell phones... Seems like several scripts are overwhelming the request... What should we do, in order to build 'HTML5 - angular' app tests environment ? We also know about xamarin solution, but we dont have time enough to create the proccess twice...
Thanks in advance,
Sergio.
2 Answer(s)
-
0
We have found the same thing.. Enableing --aot and --prod flags on build will help but inital load is still slow.
We are investigating two approaches, but dont have any answers yet.
Create a non angular login dialog that has a hidden iframe where the angular compoment will load. This will allow user to see the login dialog faster, and while there typing in ther password or clicking on oauth, it will give the machien a change to load.
Were looking at Angular server side rendering.
-
0
@flavio
This is probably because of the size of bundle files. You can try @commondesk's suggestion.