Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Interesting, I don’t show any additional savings on my end either, but I see what you mean about Google’s recommendations. I wonder if they are using a different libjpeg derivative. I’ll do some digging, and see what I can find.

    Thread Starter koroikoroi

    (@koroikoroi)

    Thanks for the quick response! ??

    True. The reason why it doesn’t show any additional saving is that it has been optimized using EWWW Image Optimizer Cloud. So the question is why PageSpeed is still not happy about it.

    Plugin Author nosilver4u

    (@nosilver4u)

    I’ve tried libjpeg6 (what google supposedly uses), libjpeg8 (the most common version), libjpeg9a (the most recent version that EWWW IO uses), libjpeg-turbo (another very popular fork), and libmozjpeg (developed by Mozilla, still very much in development).

    None of them give any improvement over what we’re seeing except libmozjpeg, and even that gives less than 500 bytes of savings. I’m going to let this simmer for a day or two and see if I have any other ideas. If you find anything in the meantime, let me know.

    Thread Starter koroikoroi

    (@koroikoroi)

    Unfortunately, this is beyond my area of expertise so I can’t help at all.

    But just want to point out that IIRC PageSpeed expects 600+ bytes of savings, so perhaps we’re almost there with libmozjpeg.

    Again, thanks for responding to this issue in a prompt manner ??

    Thread Starter koroikoroi

    (@koroikoroi)

    Plugin Author nosilver4u

    (@nosilver4u)

    I don’t see Google giving any more savings on the second one, and the other was compressed further on my site, but I’m not sure where that lives on your site, so I couldn’t run it through Pagespeed for verification.

    The very first one (the klatz band) shows 1.2kb on Pagespeed, so that’s more than I was able to achieve with libmozjpeg. Still stumped, I even tried jpegoptim via trimage, and got the same results as the EWWW IO cloud.

    Plugin Author nosilver4u

    (@nosilver4u)

    Ok, so I tried a couple more things. I installed mod_pagespeed on my dev server, and saw no savings, even with their beta version. This is exactly what they use for the online tests (or should be), so that was a bit surprising.

    Last test was to upload to my test server online here: https://test.shanebishop.net/2014/10/23/testing-unsquishable-jpg/

    You can run that through pagespeed yourself to see the results, but they surprised me, because it showed no savings available on the images, and I then re-downloaded that image just to make sure that it was the same size as the original I grabbed from your link.

    This leaves us with 2 possibilities:
    1. You have a plugin that is slipping data into the images when they are viewed, but not when they are downloaded.
    2. Google has a bug in their pagespeed scanner that is somehow being triggered by your page(s) specifically.

    Either way, the images ARE fully optimized, but it is a puzzle as to what is causing the discrepancy, unless you have a plugin that is doing something sneaky with images. Perhaps a list of your active plugins would be useful to try and rule that out.

    Thread Starter koroikoroi

    (@koroikoroi)

    Oops, I think that could have been due to caching. I use CloudFlare in front of my server.

    So, I disabled caching temporarily then checked the “klatz band” image on this particular page https://www.tripletremelo.com/this-smartwatch-can-transform-itself-into-an-actual-smartphone/ . PageSpeed doesn’t complain about it so I think it was indeed due to caching.

    I will keep an eye and will let you know if there is any further issue.

    I really apologize for the trouble caused. Thanks very much for the help.

    Plugin Author nosilver4u

    (@nosilver4u)

    Aha, I should have thought of that myself, I’m a cloudflare user myself (one of the first 500 in fact). Glad you got it figured out!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Doesn't pass Google PageSpeed test’ is closed to new replies.