We just build our login and registration screens on top of ASP.NET Zero and then deployed our code and DB to AWS (Amazon web services). We noticed that the pages take quite some time to load (10-20 seconds). Even the static public site which we didn't even touch takes as long.
This is a huge problem for us. Our application's performance needs to be almost instant. So, this is very concerning. Please let me know what we should do to optimize the page load performance. Here are the links to the public page and the login page:
Pubilc static page: <a class="postlink" href="http://accountdev.us-east-2.elasticbeanstalk.com">http://accountdev.us-east-2.elasticbeanstalk.com</a> Login page: <a class="postlink" href="http://accountdev.us-east-2.elasticbeanstalk.com/Account/Login">http://accountdev.us-east-2.elasticbean ... ount/Login</a>
4 Answer(s)
-
0
Hi,
I'm copying answer to your email question for anyone else is interested:
We checked your application. Yes, it's unexprected slow. Even public web site takes long time to load. I suppose it's related your bandwidth of AWS account. Because, even simple images in the frontend takes time to be loaded. Here the loading times (taken from Google Chrome devtools):
For instance, img3.jpg is just 162KB and takes 2.57 seconds to download. Bundles/Frontend/libs/css is 843KB and takes 4.72 seconds to download.
You can visit <a class="postlink" href="http://demo.aspnetzero.com/">http://demo.aspnetzero.com/</a> to see the same page with a high speed. And this server is a middle-power server, not very strong.
So, it's not related to AspNet Zero's performance. You can see it by deploying to another environment. Otherwise, any application (except empty simple test apps) will be slow in your current hosting.
-
0
Hi
i have the same problem, <a class="postlink" href="https://pm.ligna-systems.com/account/login">https://pm.ligna-systems.com/account/login</a>
have you any idea how i can fix it?
Thanks
-
0
-
0
Hi @Liendo,
We couldn't have time to work on this. You can also try to define a preload strategy for lazy loaded modules. We will try to do that in the upcoming releases as well.
Thanks.