Images make up the bulk of the size of a WordPress page. Optimizing WordPress media library’s PNGs, JPGs, SVGs, GIFs images is just one WP CLI command away with typisttech/image-optimize-command. Let’s make Google Pagespeed happy again!

Origen: Easily optimize WordPress images using WP CLI (and some binaries) • Typist Tech