Apache responds very slowly when it disposes of the first request

Source: Internet
Author: User
Apache responds very slowly when processing the first request
Really hurt,, loading HTML actually took 20 seconds +, do not know why the response so slow.
Tried the simple page, did not find this problem. began to suspect that the problem of CSS, the results of a look at the HTML there is slow. Try it a lot of times are 20 seconds + rhythm. Changing other browsers is also very slow and slowly.

I think it is Apache, but I do not know the specific problem where, help Ah!

Share to:


------Solution--------------------
Is it supposed to be HTML or Apache? Make a test of your HTML with one of the simplest code, what hi or something, so if Apache turns on quickly, then go and see what your HTML code is going to load for 20 seconds.
------Solution--------------------
Add a few $timer to the output and see for yourself. Does not exclude file system issues, including hardware issues.

  • 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.