该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Website Carbon

描述

The internet consumes a lot of electricity. 416.2TWh per year to be precise. To give you some perspective, that’s more than the entire United Kingdom.

From data centres to transmission networks to the devices that we hold in our hands, it is all consuming electricity, and in turn producing carbon emissions.

Only by measuring the emissions of our web pages can we be informed about the impact that they are having. This plugin, powered by the Website Carbon project, allows for measuring and reporting on the carbon emissions of your site, so you to can understand the impact, and ultimately, reduce the emissions.

安装

Upload the Website Carbon plugin to your site and activate it. You can then measure the emissions of your site.

常见问题

Can I measure the emissions for my site all at once?

Yes, browse to the Website Carbon page under the tools menu. Once there, click the “test all pages” button.

Can I export the results for my site?

Yes, browse to the Website Carbon page under the tools menu. Once there, click the “Download” button.

How does the Website Carbon plugin measure carbon emissions

The Website Carbon plugin integrates with the Website Carbon API developed by Wholegrain Digital.

How does the Website Carbon API measure carbon emissions?

The Website Carbon API makes a request for the page it is measuring and calculates the transfer size of the page. It then checks whether the site is running on renewable energy. Finally, it uses those two details to calculate the emissions. You can learn more about it at https://www.websitecarbon.com/how-does-it-work/

How do I reduce the carbon emissions of my site

There are many steps that can be taken to reduce the carbon emissions of your site, conveniently, these mostly coincide with improving the performance of your site to.

The biggest impact that can normally be had is optimising the images used on your site, to be in the most efficient format, and be prepared as close to the displayed size as possible.

Ultimately, anything that reduces the size of your site, will also reduce the carbon emissions.

Why does measuring the emissions take so long

Every page is given 30 seconds to complete a test as this is the maximum amount of time the Website Carbon API allows for a test to complete. Therefore, the Website Carbon plugin allows for just a little more time than this to account for delays.

Why does the test say “Sorry, something went wrong”?

Sometimes errors occur, and simply testing again will work. But if the error message shows several times, it could be for one of a few reasons.

  1. The page you are trying to test is not available to Google Page Speed Insights.

  2. The page you are trying to test takes longer than 30 seconds for Google Page Speed Insights to load.

  3. Something unknown occurred. In this case were not sure why, but get in touch and let us know and we will try and sort it out if its on our side.

How does the plugin check if my site is hosted on renewable energy?

Your domain name is checked against the Green Web Foundation API, which reports on whether or not the data center your site is hosted in is powered by renewable energy.

Please note: sites that have DNS hosted with Cloudflare, and have requests proxied can not be verified as hosted on renewable energy as Cloudflare masks the true IP address of the site.

评价

此插件暂无评价。

贡献者及开发者

“Website Carbon” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Website Carbon”插件已被翻译至5种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Website Carbon”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.2

  • Fix text domain for translation
  • Update stable build directory

1.1.1

  • Fix: Update related media files and documentation

1.1.0

  • Feature: Add WordPress dashboard best and worst boxes
  • Feature: Support ordering posts in query
  • Fix: Shorten administration area terminology
  • Fix: Hide “test required pages” button if there are no posts to measure
  • Fix: Fix error in generating reports

1.0.0

  • Initial release of Website Carbon plugin