Apache responds slowly when processing the first request

Source: Internet
Author: User
When apache processes the first request, the response is very slow. it really cannot afford to be hurt. it took more than 20 seconds to load html. I don't know why the response is so slow.
I tried a simple page and did not find this problem. I started to suspect that it was a problem with css. The result showed that it was slow in html. I tried it for more than 20 seconds .. It is also very slow to change to other browsers ..

I guess it is the reason for apache, but I don't know where the problem is. ask for help!


Reply to discussion (solution)

After your inference, should it be html or apache? Put your html in a test and put a simple code, such as hi, in this way, if apache is opened quickly, it will take 20 seconds to see what your html code is capable of loading.

Just add a few $ timer output. File system problems, including hardware problems, are not ruled out.

Solved, which is the reason for apache. Add
AcceptFilter http none
AcceptFilter https none
..

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.