Closed oldrup closed 2 weeks ago
Thanks very much, Bjarne! :-)
You can test as I described here. I think it's working fine with cron now, so I'll close it soon I guess?
Still planning to refactor the plugin according to this proposal, but I haven't found the time yet.
If you have any comments or ideas, please let me know. 💯 Are you at WCEU soon? It'd be great to chat about it (and other stuff). :-)
Sure! I tested and provided some feedback on GitHub. I honestly think the plugin is cool as is. Have you considered publishing it on WordPress.org? I can't imagine that Wholegrain Digital would worry about API usages, especially not when you cache the results for a week, but obviously, it would be fine to clear that with them.
If I'm attending WCEU?
Well, in fact, I am because I was super lucky and got invited to speak [5]. Super excited. My first WCEU :)
And I very much look forward to chat :D Are you attending contributers day?
Kind regards
Bjarne
On 2024-05-31 21:05, Csaba wrote:
Thanks very much, Bjarne! :-)
You can test as I described here [1]. I think it's working fine with cron now, so I'll close it soon I guess?
Still planning to refactor the plugin according to this proposal [2], but I haven't found the time yet.
If you have any comments or ideas, please let me know. 💯 Are you at WCEU soon? It'd be great to chat about it (and other stuff). :-)
-- Reply to this email directly, view it on GitHub [3], or unsubscribe [4]. You are receiving this because you authored the thread.Message ID: @.***>
[1] https://github.com/LittleBigThing/carbon-footprint/issues/6#issuecomment-1988369541 [2] https://github.com/LittleBigThing/carbon-footprint/issues/7 [3] https://github.com/LittleBigThing/carbon-footprint/issues/8#issuecomment-2142832559 [4] https://github.com/notifications/unsubscribe-auth/AECY3VMNDS5A2KOMHEEOCJLZFDCXHAVCNFSM6AAAAABIRSI3TSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSHAZTENJVHE [5] https://europe.wordcamp.org/2024/speaker/bjarne-oldrup/ --=_c89c9372df632916f281b16c95f4a091 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
Sure! I tested and provided some feedback on GitHub. I honestly think th= e plugin is cool as is. Have you considered publishing it on WordPress.org?= I can't imagine that Wholegrain Digital would worry about API usages, espe= cially not when you cache the results for a week, but obviously, it would b= e fine to clear that with them.
If I'm attending WCEU?
Well, in fact, I am because I was super lucky and got invited to speak. Sup= er excited. My first WCEU :)
And I very much look forward to chat :D Are you attending contributers d= ay?
Kind regards
Bjarne
On 2024-05-31 21:05, Csaba wrote:
Thanks very much, Bjarne! :-)
You can test as I described here. I think it's working fine wi= th cron now, so I'll close it soon I guess?
Still planning to refactor the plugin according to this proposal, but I haven't found = the time yet.
If you have any comments or ideas, please let me know. =F0= =9F=92=AF
Are you at WCEU soon? It'd be great to chat about it (and ot= her stuff). :-)—
Reply to this email directly, view it on GitHub, or unsubscribe.
Y= ou are receiving this because you authored the thread.Message ID= : <LittleBigThing/carbon-footprint/issues/8/2142832559@github.com>
--=_c89c9372df632916f281b16c95f4a091--
Great @oldrup! Good luck with the preparation of your talk and see you at WCEU Contributor day (I am at the sustainability table :-))!
And then to answer your question: I talked to Wholegrain and they suggested the refactoring of the plugin to offload the traffic to their API. As I explain here, they do a similar thing measuring page weight using Google PageSpeed Insights’ API. If we did that, we could use a much quicker endpoint (data) which simply provides the comparison with other tested pages based on the page weight.
Also, if we have the page weight (which is very much the bottle neck to all of this kinds of analyses), we could use, for example, CO2.js instead of the website carbon API to do the measurement, but losing the comparison data. We could even keep the data of only WordPress websites/pages using the plugin and compare WP sites only. That'd of course require a similar infrastructure Wholegrain has for their carbon calculator. Maybe make.wp.org could provide something like this in an ideal world on the long run? :-) We can keep dreaming I guess. Anyway, I think it would be great to be able to have a view on how WP sites perform with regard to page weight/ CO2 emission and evolve over time.
Oh and indeed @oldrup, it would be great to have it in the repository, but if I am correct it cannot be a canonical plugin like this (from the Sustainability team). It is however interesting to consider submitting it as an individual and see what evolution it brings. Let’s talk about this during WCEU. :-)
Do we face any challenges if the WP Sustainability Team wants to publish the plugin at https://wordpress.org/plugins/? Like the Performance Team did
What a unique plugin. I'd love to see it evolve. Please let me know if I can assist in testing. /Bjarne