Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reducing WordPress archive weight #30

Open
sebastienserre opened this issue Mar 2, 2024 · 4 comments
Open

Reducing WordPress archive weight #30

sebastienserre opened this issue Mar 2, 2024 · 4 comments
Labels
Environmental Reducing energy and waste consumption in the development and usage of the WordPres and its community project Project on our roadmap

Comments

@sebastienserre
Copy link

Over the year, WordPress archives weight have increased and... I think we can't change this but we can surely do something on old feature which are no more used.
I know the backward compatibility is something really important to the WP leads eyes but we can't continue (IMO)to as 43% of the web to download files always heavier.
Maybe we could work with Core team to determine which functions are no more used and deprecated from years. Removing them will make WordPress liter.
I think to Classic editor, We could move all the classic editor features to the Classic Editor plugin. It would make the archive liter for the most part of the new users.
Features would be always available thanks to the plugin.
wordpress-weight

@LittleBigThing LittleBigThing added the Environmental Reducing energy and waste consumption in the development and usage of the WordPres and its community label Mar 22, 2024
@gusaus gusaus added the project Project on our roadmap label Apr 3, 2024
@gusaus gusaus moved this to Evaluating in Sustainability Roadmap May 10, 2024
@gusaus gusaus moved this from Evaluating to Todo in Sustainability Roadmap May 11, 2024
@meeware
Copy link

meeware commented Jun 7, 2024

Some bvery naive questions to come here - perhaps in asking them I can help define the actual problem we are trying to solve here:
What is the WordPress Archive functionality?
What function do the archive files serve?
What WP features depend upon the archive files?
What has been the historical growth in size of archive files, and what is the projected growth?
What can affect the size of an archive file? (e.g. what configurations and integrations can make an archive file much bigger or smaller?)
What is the actual sustainability impact of this issue?

@sebastienserre
Copy link
Author

sebastienserre commented Jun 7, 2024

What is the WordPress Archive functionality?
It contains WordPress Core and allows WordPress installation

What WP features depend upon the archive files?
No archive/ no installation/ no functionality

What has been the historical growth in size of archive files, and what is the projected growth?
Check the attached image. 9.6Mo in 2018 -- 11M0 in 5.0 with Block Editor and Now with Site Editor + Block Editor improvements, WordPress 6.5.4 is 26.2Mo.
Size has tripled.

Sustainability impact
The more an archive is heavy, the more bandwith is used to install and update almost 50% of the website around the web.

@meeware
Copy link

meeware commented Jun 7, 2024

Ah ok, so you mean the download file size.

Hmm, I don't think this is a sustainability issue, from an environmental impact at least.

This is based on an assumption that the size of the download file has not grown quickly compared to the rate of increase of average connectivity speeds. As a proportion of an average users data download, it's plummeted.

downloading a 25MB file 4 times a year is not significant when the average website uses 5GB per month.

On this basis i don't believe the impact of reducing the file size would have a measurable impact on energy use/carbon impact. However this is based on the assumptions I am making above, I am open to being convinced otherwise. I'd need to see data that said that reducing the file size was:

a) feasible.
b) affordable (depended on low effort and low impact on WordPress's functionality and ease of installation)
c) that a file of reduced volume would over a period of time have a significant impact in reducing energy usage across the installed base of WordPress.

@DSGND
Copy link

DSGND commented Nov 12, 2024

@meeware It's more a Core Team issue, but @sebastienserre is right. WordPress can be, and should be lighter. It is literally the “plugin territory” or eco-design philosophy.

Moreover, It's not only a bandwith issue. Keeping these archives still has a cost in terms of hosting (and therefore hardware that the latter requires).

It is not necessarily the most impactful with regard to the daily use of a WordPress, but every moves count (don't forget we're talking about billion websites / users: little actions are in fact huge).

And the simplest to do (delete unused functions / files / archives) are almost more important and priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Environmental Reducing energy and waste consumption in the development and usage of the WordPres and its community project Project on our roadmap
Projects
Development

No branches or pull requests

5 participants