• Resolved roadabroad

    (@roadabroad)


    Hello!
    For my site I use ShortPixel to optimize all my images and creating webP images. All the webP images are really exist in the same wp-content directory as the original images.

    I’ve turned on Image caching via ShortPixel Cdn in the “image” section of Autopimize settings.
    Also, I have lazy-load and automatic webP serving in Autoptimize settings.

    But, when I open my site, for example this page: road-abroad.com, right-click on the image and open it in a new browser tab, I see, that the image is JPG, not webP.

    Moreover, when I check my site with Google PageSpeed, I also see the recommendation to use modern image formats, so I assume that all my webP images weren’t delivered as they should be.

    I use Google Chrome browser and the latest Autoptimize and Shortpixel versions.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey @roadabroad

    First of all; if you have both Shortpixel (the normal plugin) and Autoptimize image optimization active, then you’re optimizing twice.

    If you want to keep on using Shortpixel (the plugin, which is great) and generate the webp-images locally, then you’ll have to configure it to either make .htaccess changes (if on Apache) or to use the <picture> element. In this case you don’t need Autoptimize’s image optimization options.

    The alternative is using Autoptimize’s image optimization (which uses the Shortpixel image-optimization CDN), but it might indeed not “catch” all images. Based on what I see on your page I do see a mix of jpg’s loaded from your site and webp-images being loaded from Shortpixel’s CDN:

    The fact that background-images aren’t CDN’ed might be because you’re not using Autopitmize for CSS optimization.

    hope this helps,
    frank

    Thread Starter roadabroad

    (@roadabroad)

    I use CSS optimization in Autoptimize.

    Now, I’ve turned on ShortPixel webP delivery via .htaccess and turned off image optimizations in Autoptimize.

    yes, I see some mix of webP and jpg images. As you mentioned backgroud images are still in jpg format. Can I fix it somehow?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if you enabled webp via .htaccess in the shortpixel plugin, you should have webp everywhere. if not, you might have to ask the shortpixel support-staff for help here?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WebP delivering doesn’t work!’ is closed to new replies.