Options for increasing DOM download

Options for increasing DOM download

arcjr1arcjr1 Posts: 2Questions: 1Answers: 0

Using websocket created in javascript. No ajax and no server side processing of data.
Web browser is slow in responding which leads to a socketTimeoutException. DOM is taking 6 mins to download, I am clearing,addData, and drawing when data comes in (which is constant stream). Any ideas on how to increase download time to mitigate the timeoutexception and have the webpage respond to the window resizing.

Answers

  • kthorngrenkthorngren Posts: 20,275Questions: 26Answers: 4,765

    It doesn't sound like you are using Datatables for downloading the data. You will be better of researching the issue on Stack Overflow for questions about websockets.

    Kevin

  • arcjr1arcjr1 Posts: 2Questions: 1Answers: 0

    sorry for the confusion, I am speaking about the time DOM load time.
    I get the page up and have a visual of values changing in some of the fields but in the Chrome Dev tools, content loading is pending and the time has hit the minutes

  • kthorngrenkthorngren Posts: 20,275Questions: 26Answers: 4,765

    I am speaking about the time DOM load time.

    See this FAQ about options to increase Datatables initialization speed. If you want help reducing the Datatables initialization time then you will need to provide a link to your page or a test case showing the issue so the page can be profiled.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

This discussion has been closed.