gtmetrix_如何使用GTMetrix插件提高WordPress网站性能

gtmetrix

GTMetrix is one of the tools that we have found ourselves using more and more to get detailed reports about our site’s performance. It is a free tool that analyzes your page’s speed performance using Google Page Speed and YSlow. GTMetrix then generates scores for your pages and offers actionable recommendations on how to fix them. In this article, we will show you how to use GTMetrix plugin to improve your WordPress site performance.

GTMetrix是我们发现自己越来越多地使用的工具之一,以获取有关我们网站性能的详细报告。 这是一个免费的工具,可使用Google Page Speed和YSlow分析您的页面的速度性能。 然后,GTMetrix会为您的页面生成分数,并提供有关如何修复它们的可行建议。 在本文中,我们将向您展示如何使用GTMetrix插件来提高WordPress网站的性能。

Although the title of this article says GTMetrix plugin, you don’t always have to use it. The advantage of using the GTMetrix WordPress plugin is that it allows you to run analyses right from your WordPress dashboard. It also lets you schedule reports on daily, weekly, or monthly basis. It allows you to receive alerts about the status of your site from within the WordPress admin. Having that said, it DOES require you to register for a free GTMetrix account. Your free account API is limited to a certain number of requests per day.

尽管本文标题为GTMetrix插件,但您不必总是使用它。 使用GTMetrix WordPress插件的优势在于,它允许您直接从WordPress仪表板运行分析。 它还使您可以每天,每周或每月安排报告。 它使您可以从WordPress管理员中接收有关站点状态的警报。 话虽如此,它确实要求您注册一个免费的GTMetrix帐户。 您的免费帐户API每天限制为一定数量的请求。

For those who don’t want to use a plugin, you can always use their web based version by simply going to the GTMetrix website. Alternatively, you can also add the GTMetrix Bookmarklet in your Firefox, Chrome, Safari, or Internet Explorer browsers.

对于那些不想使用插件的人,您总是可以通过访问GTMetrix网站来使用基于Web的版本。 另外,您也可以在Firefox,Chrome,Safari或Internet Explorer浏览器中添加GTMetrix书签

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

Now we have all that covered, how can GTMetrix help you improve your WordPress site performance? Well, in their detailed report, they tell you exactly what needs fixing. Check out this example report:

现在我们已经涵盖了所有内容,GTMetrix如何帮助您提高WordPress网站性能? 好吧,在他们的详细报告中,他们确切地告诉您需要解决的问题。 查看此示例报告:

GTMetrix Report

If you notice, that the same site has two separate grades. 95% A from Google Page Speed, and 87% B from YSlow. If your YSlow score is lower, it probably means that the YSlow system is not smart enough. They can’t always detect your CDN. You have to go in your user settings to define the CDNs vs. Google automatically detects it. As you can see in the report breakdown, it shows all the things you need to work on based on the priority level. In our case, it was Optimizing Images. The best part is when you click on the tab, it tells you exactly which image needs to be optimized, and how much size you can reduce. Most importantly, it allows you to preview the optimized version of the image. All you have to do is right click on the optimized image, and save it. GTMetrix is doing the work for you.

如果您注意到,则同一站点具有两个单独的等级。 Google Page Speed的95%A,YSlow的87%B。 如果您的YSlow分数较低,则可能意味着YSlow系统不够智能。 他们无法始终检测到您的CDN。 您必须进入用户设置来定义CDN,而Google会自动检测到它。 如您在报告明细中看到的,它显示了基于优先级的所有需要​​处理的事情。 在我们的例子中,它是优化图像。 最好的部分是当您单击选项卡时,它会告诉您确切需要优化的图像以及可以缩小多少大小。 最重要的是,它允许您预览图像的优化版本。 您要做的就是右键单击优化的图像,然后将其保存。 GTMetrix正在为您完成工作。

That’s just one of the examples. Each tab has a little “What does this mean?” icon. If you click on that, it will tell you in full details what each of the items mean.

那只是例子之一。 每个标签都有一个“这是什么意思?” 图标。 如果单击该按钮,它将详细告诉您每个项目的含义。

GTMetrix What Does This Mean Icon

This tool is a gem for those who are looking to optimize their sites. Instead of downloading the YSlow extension, or going to Google Webmaster Tools to get Google Page Speed score, you can simply do it all through GTMetrix. More importantly, they even have a GTMetrix WordPress plugin.

对于那些希望优化其网站的人来说,此工具是一颗瑰宝。 无需下载YSlow扩展程序或访问Google网站管理员工具来获取Google Page Speed得分,您只需通过GTMetrix完成所有操作即可。 更重要的是,他们甚至有一个GTMetrix WordPress插件

What are your thoughts on GTMetrix? Have you been using it for your sites? Let us know in the comments.

您对GTMetrix有什么看法? 您是否一直在网站上使用它? 让我们在评论中知道。

翻译自: https://www.wpbeginner.com/plugins/how-to-use-gtmetrix-plugin-to-improve-wordpress-site-performance/

gtmetrix

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值