Why domain name access is so slow. Wordpress

Source: Internet
Author: User
Tags wordpress blog
Recently configured a WordPress blog system, and then open the domain name, www.woyaoni.cn found that the visit is very slow. I php+nginx+mysql in the VPS to take the teacher's ride.

I found the access was slow, so I deleted the plugin.
Found that the visit was slow, so I installed the Super-cache
Find the visit very slow, I have installed memcached wordpress plugin
Finally found that in fact the others are very quick to open Firefox to see

The original is the name of the ghost, walked a lot of long way.
Why the domain name will be requested so slowly, several times to more than 10 seconds.
But why does the domain name visit so slowly?

Discovery is waiting to respond to this step, what is the reason?


Reply to discussion (solution)

You take a look at it with Netstat.

You take a look at it with Netstat.



Out a bunch of commands. Do not understand Ah!
Many people on the Internet have this problem, but no one solves the seemingly ...


You take a look at it with Netstat.



Out a bunch of commands. Do not understand Ah!
Many people on the Internet have this problem, but no one solves the seemingly ...


No one solves it??????????????????????????????????

Do you load other files or pictures on the side?

It seems that WordPress with Google's character services, Google by the Wall led to the opening of WordPress slow. It says 360 made a mirror.

The problem should not be domain name
Test the Css,js on your site, pictures, open the link to empty the cache ctrl+f5, download speed and fly like
It is recommended that you make an article static, and try to access static HTML.
Then write a pure php script in the root directory, do not go into the WordPress process, do not even database, the direct echo 1 or something
I guess it's probably a database thing, and there's a small possibility that nginx configuration

The 6 floor is a reminder, such as file_get_contents (a link to a website that is slower than a turtle) may also

View open page code, refine database queries, and code.

The problem should not be domain name
Test the Css,js on your site, pictures, open the link to empty the cache ctrl+f5, download speed and fly like
It is recommended that you make an article static, and try to access static HTML.
Then write a pure php script in the root directory, do not go into the WordPress process, do not even database, the direct echo 1 or something
I guess it's probably a database thing, and there's a small possibility that nginx configuration


x Thanks, I test the static discovery is quite fast. Should be the connection to the database operation has been a problem. But I think the WordPress connection database operation how to change it. I also checked the slow query.

x Thanks, I test the static discovery is quite fast. Should be the connection to the database operation has been a problem. But I think the WordPress connection database operation how to change it. I also checked the slow query.



Wood useful over WP, awkward
If you are not familiar with WP, pure php even try!
WP Connection database script can not be so slow, there should be a problem with the database server
If it is not the database, it is similar to the 6 floor situation, WP collected other slow website files
  • 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.