Server Storage Space
- Started
- Last post
- 8 Responses
- Mattjanz3n
We have a client who's running WP. Has been for about 8+ years and we're starting to see a ton of wasted storage space.
Part of me wants to just migrate to S3 and part wants to find a way to remove the unused files. It's primarily coming from high res images. (When they were uploaded have been made into more images of various sizes by WP). Lots of which are not even being used by the front end.
We tried a few plugins that look thru the database but lots of images are not referenced in the DB.
Should we just go S3 and horde the data for a lifetime?
- fadein110
Wordpress has an upload limit and everything it creates is smaller than the uploaded file.
Not sure what the issue is, what's your hosting package limit?
- Mattjanz3n0
30GB / WPENGINE
Here's our options as I see them.
a) connect just the data to S3
b) remove some useless files
c) upgrade to enterprise and pay $600/m for 1 WP site.fadein11 - we've removed the upload limits to enable the content editors to upload nice big crispy files for 5k monitors fullscreening the look book images etc. This is not your avg WP site.
- ok. that's different then. shouldn't be too hard to find files that are not sused anywhere - must be a plugin for that. or SQl query?fadein11
- There are, we tried a few of them which removed lots of images we needed. I mean, I personally didnt run them but thats what my team tells me.Mattjanz3n
- I think the writing is on the wall above in a meme.. we should pipe to S3 and get better file management workflows happening so the editors are more consciousMattjanz3n
- zaq0
- Mattjanz3n0
We already use optimizers both offsite and plugin form.
- GuyFawkes0
there are plugins that delete unused media files, i would start there.
- < gently with thosested
- Yeah, they are not 100% accurate. Make sure you back up first.ArmandoEstrada
- pockets0
smush it?
- noneck1
I've done this for a client before, huge pain in the ass.
1. Backup site.
2. Create copy of site on different server.
3. Use a plugin to detect unused media files and delete them. I've used https://meowapps.com/media-clean… before.
4. If everything looks okay, then restore this site to the live server.If they're using a plugin like VisualComposer you're probably fucked.
Going forward, you can install a plugin that will automatically resize the original images to a reasonable size, and optimize them. For example, when the client uploads a 5MB jpg from their phone, it resizes it to 1440px wide and deletes the 5MB file, leaving you with a reasonable 200 KB file instead.