LNMP architecture, found that the same Web page opened fast and slow, up and down the traffic is very small, the test, look at the nginx error log, found such a sentence "
PHP message:php warning:file_get_contents (http://url/index.php?url=yoururl/kjtest): Failed to open stream:php_ Network_getaddresses:getaddrinfo failed:temporary failure in name resolution IN/OPT/NGINX/HTML/AIYAN_WEB/TEMP/WWW_ RURL_CN_KJTEST_.DWT on line + "while reading upstream, client:163.177.69.38, Server:url, Request:" Get/kjtest HTTP/1. 1 ", Upstream:" fastcgi://127.0.0.1:9000 ", Host:" Yoururl "", probably meaning that cannot be resolved to the domain you want, temporary failure in name resolution, meaning big The hint is that you do not have name resolution, you need to configure the DNS server address, which is important, and then modify the/etc/resolv.conf, modify the DNS address, if 114.114.114.114,8.8.8.8, such as, restart the network server, the page is basically seconds open.