Drupal的7 QUOT太慢接通;第一次加载" [英] Drupal 7 is too slow on "first load"

查看:145
本文介绍了Drupal的7 QUOT太慢接通;第一次加载"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望有人能帮助我这个Drupal 7的问题。我注意到,加载时间很慢,当我进入网站地址第一时间。这需要大约20(平均)秒刚刚开始加载文件和显示内容。像它有一些延迟。然而,期后它的速度非常快,一切正常。一旦页面(S)为/加载,我们可以迅速,没有任何延迟刷新它们。

I hope someone can help me with this Drupal 7 issue. I noticed that loading time is very slow when I enter the site address for the "first time". It takes about 20 (average) seconds just to start loading files and displaying the content. Like it has some delay. However, after that period it's very fast and everything is ok. Once the page(s) is/are loaded, we can refresh them quickly and without any delay.

我附上图片看到Chrome的网络瀑布。

I attach an image to see Chrome's Network Waterfall.

感谢大家。

图片: http://i.stack.imgur.com/vuejk.png(看看第二行)

[更新]我使用PHP-APC但仍然有同样的问题。

[UPDATE] I'm using php-apc but still have the same problem.

推荐答案

这是因为正在运行的每几个小时/天(视设置)Drupal的后台任务(最有可能)。 Drupal在执行所有排队的cron作业..这可能需要很长的时间。

This is (most likely) because of the Drupal Cron tasks that are run every few hours/days (depending on settings). Drupal then executes all the queued cron jobs.. which can take a long time.

看一看<一个href=\"http://drupal.stackexchange.com/questions/18326/how-can-i-stop-the-cron-tasks-from-being-triggered-by-site-visitors\">this drupal.stackoverflow 页。

E:另外,这个调整可能会有帮助,但我还没有尝试过这个自己:的http:// Drupal的。组织/节点/ 1576686

e: Also, this tweak may help, but I haven't tried this myself: http://drupal.org/node/1576686

这篇关于Drupal的7 QUOT太慢接通;第一次加载&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆