确定网站速度缓慢的最快方法是什么?

发布于 2024-11-26 01:22:56 字数 249 浏览 1 评论 0原文

我刚刚找到了一位客户,他的 WordPress 网站需要 8 到 22 秒才能开始加载。使用 Wordpress 后端时也会出现加载延迟,因此我想在开始工作之前先解决加载问题(模板重新设计)。确定为什么此 WordPress 网站需要这么长时间才能开始加载的最快且有效的方法是什么?

预先

感谢- 他们目前安装了一个缓存插件(WP Super Cache),我假设以前的网络开发人员安装该插件是为了帮助解决加载问题,但它只对前端有帮助,对后端没有帮助。

I just picked up a client who's Wordpress web site takes anywhere between 8 to 22 seconds to START loading. The loading delay also occurs when using the Wordpress backend so I'd like to fix the loading issue first before starting my work (template re-design). What's the quickest yet efficient way to determine why this Wordpress site is taking so long to start loading?

Thanks in advance

P.S. - They currently have a caching plugin installed (WP Super Cache) which I assume the previous web developer installed to help with the loading issue but it only helps with the front-end and not the back-end.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

梦幻的心爱 2024-12-03 01:22:56

尝试运行一些测试,例如 YSlow 和 Google Page Speed,并阅读他们的结果和建议。

Try to run some test like YSlow and Google Page Speed and read their results and suggestions.

辞别 2024-12-03 01:22:56

Google Speed Online 对我的网站分析帮助很大。

http://pagespeed.googlelabs.com/

Google Speed Online is helping me a lot with analysis of my websites.

http://pagespeed.googlelabs.com/

夏了南城 2024-12-03 01:22:56

我使用browsermob。他们使用真实的浏览器来测试网站加载性能。显示非常漂亮的图表,显示每个请求花费的时间。还显示有多少请求并行发生。由于他们使用真实的浏览器,您可以看到在真实的浏览器上加载需要多长时间。然后您可以选择要测试的位置。您可以选择英国位置来测试页面从英国加载的速度。

顺便说一下,我和 browsermob 没有任何关系。我恰好是对此感到满意的用户。

而且它是免费的。

I use browsermob. They use real browsers to test the site load performance. Shows very nice graphs showing how long each and every request took. Also shows how many requests happen in parallel. As they use real browser, you can see how long it will take to load on a real browser. Then you can choose from which location you want to test. You can choose a UK location to test how fast your page loads from UK.

By the way, I am in no way related to browsermob. I just happen to be a satisfied user of this.

And it is free.

不喜欢何必死缠烂打 2024-12-03 01:22:56

您的服务器可能加载了太多模块,并且由于内存不足而导致磁盘崩溃。

您需要减少每个 PHP 实例消耗的内存量并限制可以同时运行的 PHP 实例数量,以确保您的 PHP 实例不会使用虚拟内存。

我在 Stack Overflow 上写了一个非常类似问题的详细答案:

如何找出我的 WordPress 页面加载如此缓慢的原因?

Your server is probably loading far too many modules and is thrashing the disks as it's run out of memory.

You need to both reduce how much memory each PHP instance consumes and limit how many PHP instances can run simultanouesly to ensure you don't use virtual memory for your PHP instances.

I've written a detailed answer to a very similar problem here on Stack Overflow:

How can I figure out why my Wordpress pages load so slowly?

中二柚 2024-12-03 01:22:56

嗯,我也遇到过类似的情况,当您的网站托管在 GridHosting 服务器上时,就会发生这种情况,这意味着它会根据服务器负载而变化,但有时情况与情况恰恰相反,检查原因的最佳方法慢的方法是先随机ping一下网站,这样你就可以知道是距离原因还是丢包问题,其次,你需要确保你的服务器配置是否良好,即;向您的主机请求您网站的原始日志,这样您就可以知道您的服务器响应需要多长时间,而最好的方法是检查并确保您的 DNS 及时解析,然后尝试使用一些免费的 CDN 服务,例如 CloudFlare。

希望这有帮助。

Well, i have came across a similar situation, such things happen when your website is hosted on a GridHosting server, which means it changes according to the server load, but sometimes the things are just opposite the scenario, the best way to check why it is slow is to first ping the website at random interval , so in this way you will know if the distance is the cause or the packet dropping is the issue, secondly, you need to make sure your server's configurations is good, i.e; request your host about a RAW log of your website, in this way you can know what is it taking long for your server to response, and the least best method is to check and make sure that your DNS resolves in a good time, and try to use some free CDN services like CloudFlare.

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文