Home  >  Article  >  Backend Development  >  javascript - Why is this html file loading so slowly? It was tested on the company's server. I would like to ask if this is a front-end problem or a back-end problem.

javascript - Why is this html file loading so slowly? It was tested on the company's server. I would like to ask if this is a front-end problem or a back-end problem.

WBOY
WBOYOriginal
2016-08-18 09:16:121110browse

Why is this html file loading so slowly? I tested it on the company server. I would like to ask if this is a front-end problem or a back-end problem

javascript - Why is this html file loading so slowly? It was tested on the company's server. I would like to ask if this is a front-end problem or a back-end problem.

Reply content:

Why is this html file loading so slowly? I tested it on the company server. I would like to ask if this is a front-end problem or a back-end problem

javascript - Why is this html file loading so slowly? It was tested on the company's server. I would like to ask if this is a front-end problem or a back-end problem.

Clear the cache and then refresh the page. It will probably be so slow that it crashes. . Try changing the network environment

The red part should be TTFB, which is the time taken between the client sending a request and receiving the first character returned by the server. I understand that the middle should include DNS resolution + TCP/IP connection establishment time + server processing time. In other words, slow network or slow server processing will cause the red part to take longer, and there should be nothing wrong with the front end. The front-end work should start after receiving the return from the server.

It’s probably a server-side problem

Tips to ignore cache refresh next time
You can check the disable cache option

Hopefully come back with a new screenshot without caching

Is it a bandwidth problem? There are a lot of png pictures. . . . . .

fsdfsfsdfdsfdsfsf

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn