简体   繁体   English

WordPress有时非常慢,有时非常快

[英]Wordpress sometimes very slow, sometimes very fast

First time using Wordpress, I always used Drupal. 第一次使用Wordpress时,我总是使用Drupal。 I have installed WP on several VPS from several vendors. 我已经在多家供应商的几种VPS上安装了WP。 One with FreeBSD 10.1, 3 with Centos 7. All using MySQL and PHP 5.4 or PHP 5.6. 一个使用FreeBSD 10.1,三个使用Centos7。全部使用MySQL和PHP 5.4或PHP 5.6。

I'm using Xcache and mod_deflate . 我正在使用Xcachemod_deflate On the same VPS PHP apps like Drupal and ownCloud are running fine and responding very fast ( <400ms ), no matter how many times you load the page. 在相同的VPS上,无论您加载页面多少次,Drupal和ownCloud之类的PHP应用程序都可以正常运行并且响应速度非常快( <400ms )。

My problem with Wordpress is that the first time you load the website on a PC it takes about 20-30 seconds to load. 我对Wordpress的问题是,第一次在PC上加载网站时,加载大约需要20-30秒。 After this it loads under 200ms . 此后,它将在200ms加载。 I'm using the default theme and no plugins, since I first want to solve the slowness. 我使用的是默认主题,没有插件,因为我首先想解决缓慢问题。

IMO plugins like " WP Super Cache " won't help since it's a clean install on a clean VPS. 诸如“ WP Super Cache ”之类的IMO插件将无济于事,因为它是在干净的VPS上全新安装的。 Without content, without plugins etc. 没有内容,没有插件等。

I have tried many things which doesn't work. 我尝试了许多无效的方法。 Directly accessing the VPS by IP doesn't change anything. 通过IP直接访问VPS不会发生任何变化。

Check the page speed from: http://tools.pingdom.com/fpt/ 从以下位置检查页面速度: http : //tools.pingdom.com/fpt/

To be sure its not your connection / computer 确保不是您的连接/计算机


If its still that slow: 如果仍然那么慢:

Try using an Ubuntu 14.04, then install Sentora as your host panel. 尝试使用Ubuntu 14.04,然后将Sentora安装为主机面板。

From there do all the necessary configurations (edit DNS records at your registrar etc) 从那里进行所有必要的配置(在您的注册商处编辑DNS记录等)

Then install wordpress with remote.softaculous.com, then you should be good to go. 然后在remote.softaculous.com上安装wordpress,然后就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM