Base solution for your next web application
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.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    hi mark.montesa

    What is your product version?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    mark.montesa created

    hi maliming,

    Were currently runnning aspnetzero 7.2.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    mark.montesa created

    Hi maliming,

    Ill try that, thanks for the feedback.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mark.montesa

    Did you have a change to try this ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)