Hacker News new | ask | show | jobs
by skilled 759 days ago
4GB? Those are rookie numbers. I have a site where /wp-content/ is 20GB. Tens if not hundreds of thousands of images that have been auto generated by WordPress because of how thumbnails and minifaction works, but also converting images to WebP. And if you delete old posts or any other content, the images stay.

And it’s my understanding that there is no safe way to remove unused images. I have tried to do it using the in-built media manager but eventually I gave up because it’s tedious and I don’t want to risk leaving pages without images by accident.

2 comments

But 20GB is not a big deal these days, even cheapest hosting solutions give "unlimited" storage (only limited by inodes mostly, but those go into absurd numbers too).

In my eyes it's more optimal to just don't worry and take the WordPress site as simply a tool - yes, it will break after 5 years, but by that time you would have needed new site anyway.

Surely there is a plugin for that.