content download too long problem

Phenomenon: The front-end web page is stuck for 1 minute. Observe the network and find that there is a request that takes 1 minute and reproduces stably. Check the background service log and find that the response is returned after a few hundred milliseconds

At first, I guessed that it was nginx, network and other problems. Later, I called the front-end students to see it and solved it easily.

Reason: The response efficiency of a front-end component to the list is too low. In fact, the front-end js is stuck, which leads to the time-consuming response to the end of the network.

Judgment basis: The time-consuming request in the network did not start when it was stuck

Solution: replace the components at the front end and return to normal

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324445047&siteId=291194637