Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pazzaglia

    (@pazzaglia1)

    BTW, I posted this same question in the Google Pagespeed Insights forum and this is the answer they gave me:

    https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/pagespeed-insights-discuss/rTWTt8UOMr4/tzBveRlZk_oJ

    ——————
    Libo Song

    $ wget http://i2.wp.com/www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg
    –2014-10-14 09:29:35– http://i2.wp.com/www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg
    Resolving i2.wp.com (i2.wp.com)… 192.0.77.2
    Connecting to i2.wp.com (i2.wp.com)|192.0.77.2|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 342051 (334K) [image/jpeg]
    Saving to: ‘mock_cover.jpg’

    —————————————-

    Rick Steinwand

    Sorry, all of those images have resized dimensions. You should resize the image to match the size you’re currently using and PSI will give you a better score.

    Resizing by simply changing the dimensions of the image tag has always been frowned on and hurts performance. Yslow and PageSpeed browser plugins should offer to resize and optimize the images for you.

    —————————————-

    So, is there a way to ensure that the re-sized low-res versions are served by photon?

    Thanks,

    L

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Photon caches your original images and serves them from the WordPress.com infrastructure. When caching your images, it also optimizes them. Taking the example above:

    Here is the original image size:

    wget http://www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg
    --2014-10-15 14:17:04--  http://www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg
    Resolving www.hippressurecooking.com... 181.224.141.235
    Connecting to www.hippressurecooking.com|181.224.141.235|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 437635 (427K) [image/jpeg]

    Length: 437635 (427K) [image/jpeg

    And here is the same image, served by Photon:

    wget http://i2.wp.com/www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg
    --2014-10-15 14:16:33--  http://i2.wp.com/www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg
    Resolving i2.wp.com... 192.0.77.2
    Connecting to i2.wp.com|192.0.77.2|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 342051 (334K) [image/jpeg]

    Length: 342051 (334K) [image/jpeg]

    Now let’s look at the same image, served by Photon, and resized by Photon to fit in the “Whole Grains Faster!” area on your site:

    wget http://i2.wp.com/www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg\?resize\=190%2C190
    --2014-10-15 14:27:37--  http://i2.wp.com/www.hippressurecooking.com/wp-content/uploads/2014/08/mock_cover.jpg?resize=190%2C190
    Resolving i2.wp.com... 192.0.77.2
    Connecting to i2.wp.com|192.0.77.2|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 8227 (8.0K) [image/jpeg]

    Length: 8227 (8.0K) [image/jpeg]

    As you can see, Photon optimizes your images correctly.

    There is no miracle, though: Photon starts from the original image you’ve uploaded to your site. If that image is very large, Photon will optimize it but the image size will remain large. We don’t want to over-optimize or your images would look blurry, or grainy, or pixellated.

    If you’re worried about the size of your images, I’d recommend checking their size before to upload them to your site. You can resize them with an image editor until you get to an acceptable size. Photon will then optimize things a bit more starting from that optimized image you upload to your site.

    I hope this clarifies things a bit.

    Thread Starter pazzaglia

    (@pazzaglia1)

    It makes sense to me, and that is what I am seeing when I look at the images through a browser. However, this does not explain why google can’t seem to see the optimized images.

    In the meantime, I have used some tools to further compress past and future images as they are up-loaded into the website, and also sent an e-mail to request that all of the photon images in the cache for my website be cleared so that photon can serve the newer, optimized ones.

    Thanks!

    L

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    this does not explain why google can’t seem to see the optimized images.

    Yeah, I’m not sure either. Maybe that’s just a recommendation, mentioning that you could optimize your images further?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why does Google Pagespeed say my photon images are not optimized?’ is closed to new replies.