• Resolved Richard Lapthorn

    (@richard-lapthorn)


    Hi guys,

    please excuse any stupid questions I may be about to ask. I have taken on the task of building a website for my video production company without any formal web training. It’s certainly proving to be an uphill struggle! 😀

    We have been having issues speeding up the loading our site, as it is image heavy and a parallax one page site. Not a great speed combo! lol

    We are using CloudFlare as a CDN as well as Smushit, however Google page speed is giving us an F grade for our images, telling us they can be reduced by 34%. Is this accurate? If I check the images they say they are smushed. Are we doing something wrong or is Cloudflare causing the problems?

    Our website is http://www.indigorebel.com

    Thanks for your time

    Rich

    http://wordpress.org/plugins/wp-smushit/

Viewing 3 replies - 1 through 3 (of 3 total)
  • @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.

    Thread Starter Richard Lapthorn

    (@richard-lapthorn)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Correct way to use Smushit with a CDN’ is closed to new replies.