Sending and receiving request very slow when charging Data Table for first time

Sending and receiving request very slow when charging Data Table for first time

MilyMily Posts: 15Questions: 3Answers: 0

Link to test case: NONE because my code is very complicated and I don't have the rigths of showing everything
Debugger code (debug.datatables.net): NONE
Error messages shown:

Description of problem:
Dear all,

I am working on ASP.Net mvc application and using Data Table JQuery to show my data.
Unfortunately I don't have link to this web page because I work on local server.

When I load for the first time my data table it takes 3 min (see the screen shot).

Do you have any idea why?

Thanks in advance for your answer. :)

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Have you diagnosed this yet? Is the delay on the server-side, or client-side? Does it take a while to draw even after the data has been transferred?

    Colin

  • MilyMily Posts: 15Questions: 3Answers: 0

    Hi Colin, thank you for answering. I thing that the delay is on the server-side because everything is executed in 5seconds in the controller who thurns back the request answer. How could I see that?

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Probably the easiest way would be to log timestamped entries on the server-side log, and see where the delay is. With that information, you could tell if it's the database connect, a specific query. etc

    Colin

This discussion has been closed.