Why is domain name access so slow. Wordpress-php Tutorial

Source: Internet
Author: User
Tags wordpress blog
Why is domain name access so slow. Wordpress recently configured a wordpress blog system, and then opened the domain name, www.woyaoni.cn found that access is slow. On the vps, I took a picture of the php + nginx + mysql set up by Dr. Zhang banquet.

I found that the access was slow, so I deleted all the plug-ins.
The access was slow, so I installed super-cache.
I found the access was slow. I installed the memcached wordpress plug-in.
Finally, I found that everything else was actually very fast. Open firefox to see

It turned out to be the ghost of this domain name, and it took a lot of waste.
Why is the request for a domain name so slow? several times it takes more than a dozen seconds.
But why is access to the domain name so slow?

What is the reason for the failure to wait for a response?




Reply to discussion (solution)

Are you using netstat? Take a look


Are you using netstat? Take a look



A string of commands. Don't understand!
Many people on the Internet have such problems, but none seem to solve them...





Are you using netstat? Take a look



A string of commands. Don't understand!
Many people on the Internet have such problems, but none seem to solve them...




Is there no solution ????????????????????

Are other files or images loaded?

It seems that wordpress uses Google's character service, and Google's wall causes wordpress to slow down.

The problem should not be in the domain name.
Tested the css, js, and images on your website, and opened the link to clear the cache ctrl + F5. the download speed is similar to flying.
We recommend that you use static html for an article.
Write a pure php script in the root directory, do not enter the wordpress process, do not connect to the database, directly echo 1 or something
I guess it may be about databases, or nginx configuration.

The sixth floor reminds me that, for example, file_get_contents (a link to a website that is slower than the tortoise) may also

View the code on the open page, optimize database queries, and code.


The problem should not be in the domain name.
Tested the css, js, and images on your website, and opened the link to clear the cache ctrl + F5. the download speed is similar to flying.
We recommend that you use static html for an article.
Write a pure php script in the root directory, do not enter the wordpress process, do not connect to the database, directly echo 1 or something
I guess it may be about databases, or nginx configuration.


X thanks. I have tested the static findings very quickly. It should be because of a problem with the database connection operation. But I want to change the operation for connecting wordpress to the database. I also checked slow queries.



X thanks. I have tested the static findings very quickly. It should be because of a problem with the database connection operation. But I want to change the operation for connecting wordpress to the database. I also checked slow queries.



Wood has used WP, awkwardly
If you are not familiar with WP, just connect to php!
The WP script for connecting to the database cannot be so slow. There should be a problem on the database server.
If it is not a database, it is similar to the case on the 6th floor. WP collects files from other slow websites.

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.