這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.3

  • Fix: WordPress compatability check and house cleaning
  • Feat: Add grams to unit to admin view of posts

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