The DOES seem a bit slow, but optimization depends greatly on the image type and size. For example, a 500kb JPG would generally take less than a second. A 500kb PNG could take 30 seconds. If you have lots of PNG images over 150kb, that would explain the speed. If it is all JPGs, I would suspect you are not getting your money’s worth from that VPS host.
At any rate, on to the real question regarding how to complete you whole media library…
There isn’t any way to automatically optimize past images in the Media Library without having a browser window open. the good news is that you can do the Media Library in batches. Simply start the Bulk Optimize, and let it run for as long as you can, and then stop it. Just closing the browser is fine, you don’t actually have to hit the stop button. Then you can come back to the Bulk Optimize later and click the Resume button, and it will start back where it left off. Might take a week at the current rate, but you’ll get there eventually.
Thanks nosilver4u your reply.
I think slow down issue is I use convert JPG to PNG and bulk wait as 5 and unchecked disable pngout.
As you mentioned, I try media library “Bulk Optimization” option (earlier and now), but it’s not working in my situation. Once I selected all the images in media library one page (20 media item), and hit the apply button nothing happen. Only refresh the web browser tab.
Never mind, I opened my WordPress gallery using my Android phone and run bulk optimize. Now I have 725 unoptimized images.
Oh yeah, JPG to PNG will be very, very slow, since you are dealing with largish images generally, and pngout is quite slow on larger images. Good luck!
Oh my god. Thank you so much nosilver4u. You’re a genius. My upload folder has only screenshot (PC and Android phone). After the optimization I can reduce upload folder size in 42%. Thank you so much.