I’ve been reading several articles like this one about running optipng and jpegoptim using cronjobs to automatically optimize images in /var/www/.
This seems more efficient than using a WordPress plugin to optimize images.
Is anyone else doing this? What exact cron jobs or scripts are you using?