The optimizing command reduces the pictures that are in your .web file and not those on your website. Optimizing those pictures is done upon export, so make sure that in the Utilities/Web...