JavaScript-why this HTML file is loaded so slowly, measured in the company server, I would like to ask whether this is the front-end problem or the back-end problem

Source: Internet
Author: User

Why this HTML file load so slow, in the company server test, I would like to ask whether this is the front end of the problem or the back end of the problem

Reply content:

Why this HTML file load so slow, in the company server test, I would like to ask whether this is the front end of the problem or the back end of the problem

Clear the cache and then refresh the page, it is estimated that you will be slow to crash. Try a different network environment.

The red part should be TTFB, which is time-consuming to send a request from the client to the first character returned by the server. I understand that the middle should include DNS resolution + establish TCP/IP connection time + server processing time, that is, the network is slow, or slow processing of the server will lead to red part of the time is longer, there should be no front-end anything. The front-end thing should start after receiving the server return.

It's probably a server-side problem.

Tip Next time you want to ignore cache refreshes
You can do it. Disable cache option tick

I'd like to have another new one without a cache.

is not the problem of bandwidth ah, PNG pictures a bit more ah ...

Fsdfsfsdfdsfdsfsf

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.