开发者 |
beleaf
wholegraindigital josh-stopper |
---|---|
更新时间 | 2023年2月16日 11:07 |
PHP版本: | 7.1 及以上 |
WordPress版本: | 6.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Yes, browse to the Website Carbon page under the tools menu. Once there, click the "test all pages" button.
Yes, browse to the Website Carbon page under the tools menu. Once there, click the "Download" button.
The Website Carbon plugin integrates with the Website Carbon API developed by Wholegrain Digital.
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/
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.
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.
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.
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.