@richard Lapthorn,
That sure if you are doing anything wrong. But maybe just not understanding the real problem.
The Smush.it plugin can really only effect your local images not on the CDN. The smush.it image process it pretty simple. When you run the smash.it plugin it calls the Yahoo! Smush.it API and provides a URL to the image to be processed. As part of the API conversation the service returns a URL to the new image. The plugin will then download the image from the service and replace the original image on your local server with the new image from the service.
In order for this for work the image needs to be writable on the local system. So if your website is serving the images from the CDN and you are processing the local images then there is your disconnect. I’m not familiar with CloudFlare and there are literally many dozen CDN type systems out there.
The question is how do you go about updating the images from your local server to the CDN? I’m not sure if this is some automatic process or manual.
Ok thanks.
I’m thinking perhaps the trick here is to process the images via the smushit webpage then. That way I’m working with pre smushed images before they go anywhere. Does that make sense?
Would I get the same level of smushing from the website, as I would with the plugin?
@richard Lapthorn
I’m thinking perhaps the trick here is to process the images via the smushit webpage then. That way I’m working with pre smushed images before they go anywhere. Does that make sense?
Yes, for legacy images you should manually process the images via the Yahoo! site directly. It is the same engine so my expectations is the level of reduction will be the same. Once they are processed you can manually update the image to your CDN using whatever method is prescribed.
For new images you can enable Smush.it to process the images on upload to WordPress. In theory this should work since I’m assuming there is some background process that copies files from your local to the CDN. I could be over guessing there.