Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

GetCustomCss, GetTenantLogo Slows Down on multiple browser tabs. #8192


User avatar
0
mark.montesa created

Hi,

I would like to ask, why GetCustomCss and GetTenantLogo slows down when I have multiple tabs for aspnetzero Ui(angular). When I open the UI(angular) on multiple times there are times that the page will load first before the Css and Logo for specific Tenant.

Images are actual timing of GetCustomCss and GetTenantLogo when loaded with multiple tabs.


8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi mark.montesa

    What is your product version?

  • User Avatar
    0
    mark.montesa created

    hi maliming,

    Were currently runnning aspnetzero 7.2.

  • User Avatar
    0
    maliming created
    Support Team

    hi mark.montesa

    I tested concurrent requests for the GetCustomCss method locally and found no particularly slow response.

    Can you create a demo site to reproduce your problem?

  • User Avatar
    0
    mark.montesa created

    Hi maliming,

    Yeah your right we cannot reproduce the issue on localhost.

    About the demo. We cannot also reproduce cause it doesnt allow us to upload custom css.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team

    Only GetCustomCss, GetTenantLogo are slow? Are other ajax requests slow?

    You can also use the synchronous method to get the binary object in GetCustomCss & GetTenantLogo. Some people report that getting the byte array asynchronously may not be as fast as synchronous.

  • User Avatar
    0
    mark.montesa created

    Hi maliming,

    Ill try that, thanks for the feedback.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mark.montesa

    Did you have a change to try this ?

  • User Avatar
    0
    ismcagdas created
    Support Team

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