Dynamic page loads slowly

  Today encounter a problem, use nodejs write a project, to dynamic rendering of the page by requesting back-end database.

  In html page using a template engine to render after, leading to refresh the page to load the page a long time, and later learned that the reason is because the network was not good network status page request is sent to the browser download a variety of components, and so, too slow, so page loads too slowly. Finally out of the gateway, the page will not again the browser sends a request to solve the problem, the page loads quickly.

Guess you like

Origin www.cnblogs.com/yangxiaobai123/p/11033025.html