I just thought of something that would be cool to integrate in cPFence - image optimization. It could be a simple script like the one below that can be manually triggered on demand or automated with cron:
 
#!/bin/bash
HOMEDIR="/full/path/to/website/homedir/"
cd $HOMEDIR
nice -n 19 find . -iname '*.jpg' -print0 | xargs -0 jpegoptim --max=82 --all-progressive --strip-all --preserve --totals --force
nice -n 19 find . -iname '*.jpeg' -print0 | xargs -0 jpegoptim --max=82 --all-progressive --strip-all --preserve --totals --force
nice -n 19 find . -iname '*.png' -print0 | xargs -0 optipng -o7 -preserve
echo "Image compression done!"