Base solution for your next web application
Open Closed

How to reduce login page loading time? #7834


User avatar
1
xitix created

My login page taking 20 to 30 Sec+ to load after hosting.


11 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team
    • What is your product version?
    • What is your product type (Angular or MVC)?
    • What is product framework type (.net framework or .net core)?

    Is the application slow to load for the first time or is it slow every time?

  • User Avatar
    0
    xitix created

    My project Type : Asp.Net core + Angular [lates v . 70 ]

  • User Avatar
    0
    maliming created
    Support Team

    Is the application slow to load for the first time or is it slow every time?

    Can you check the network panel of the chorme developer tool to see if it is a static resource or is the api response time slow?

  • User Avatar
    0
    smry created

    I have noticed this often

    It mainly happens with new browsers with no cached info and it hangs up on /AbpUserConfiguration/GetAll?d=1578436192228

    Is there any update on this?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @xitix

    Did you examine your app to see which file or action takes longer time ? Is it /AbpUserConfiguration/GetAll or any style/script file ?

    @smry do you have server side logs about this ? If you can share it, it would be great.

  • User Avatar
    0
    smry created

    emailed logs @ismcagdas

  • User Avatar
    0
    smry created

    @ismcagdas - any updates on this or https://support.aspnetzero.com/QA/Questions/8312?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @smry

    Sorry, I just replied to your email. We can continue on email.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.

  • User Avatar
    0
    sagaracorp created

    I have the exact same issue and needing to solve this asap as we are about to launch in production

  • User Avatar
    0
    smry created

    @sagaracorp

    Are you running on IIS? If so you can set your API so that it never has downtime and then the application should always "Be Fast" on any attempt What we've seen is the default settings set the API to sleep and then the first person to hit the page will have to wait until everything is online

    https://forums.asp.net/t/1950241.aspx?ASP+NET+MVC+website+goes+to+sleep+How+to+nake+it+always+awake+