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

aspnetzero MPA MVC controller with low performance #3458


User avatar
0
trendline created

In MPA, on the same server when request a page it will spend more than 200ms to wait the server get response, if request the API (which also requested in the page via AJAX) directly it only needs spend more or less 60ms.

request a page needs to wait more than 200ms will let people feel the page is slowly.

Is there a way to optimize the page loading performance?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @trendline,

    MVC renders your view after getting data but API only returns raw data to client. Can you try same scenario with an empty view and same code for controller and app service ?

    We have worked on this before but couldn't find any point to optimize.

    Thanks.

  • User Avatar
    0
    trendline created

    I will keep on eye on this and do more testing.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @trendline.

    We will also work on this issue for next releases.