• Resolved edjarrett

    (@edjarrett)


    I have WebP copies of all images. And they seem to serve OK for the non-AMP posts. But the AMP posts do not use the WebP images. Have I not configured something correctly? Or is that not a feature of the EWWWW Image Optimizer?

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

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

    (@nosilver4u)

    Currently, EWWW IO does not support AMP pages, because my testing revealed that non-WebP AMP-supporting browsers would attempt to load the WebP version, throw an error, and then go load the original. That’s not great, since then we’re penalizing non-WebP browsers by loading 2 images for every amp-img element, and slowing things down even more.

    But, that may have changed, as it’s been a long time since I’ve tested this. It’s going to be hard to find such a browser to test, but I think it’s about time to re-test this scenario and see if AMP can properly support varying image types with proper fallback.

    Thread Starter edjarrett

    (@edjarrett)

    Thanks for your response. PageSpeed Insights is telling me I should be using WebP images on my AMP pages. But so far I have not found a way to do that. I have been been using EEW IO for a while, although I am testing other options now, looking for a solution to this. If you resolve it soon, please let me know.

    hi @nosilver4u, it seems that most browsers currently in use support webp https://caniuse.com/webp, those who do not support it are such a small percentage of users that even if they were penalized it would not be much of a problem compared to the significant speed improvement that the remaining 99% of users would have.

    Plugin Author nosilver4u

    (@nosilver4u)

    Hey @edjarrett,
    Unfortunately, it seems nothing has improved in the AMP spec. The markup does not allow one to indicate the file type so that browsers can use the “fallback” immediately without first loading the WebP version.

    However, if you would like to see an AMP WebP module land in EWWW IO even with that potential shortcoming, feel free to add it as a feature request at https://feedback.ewww.io

    Thread Starter edjarrett

    (@edjarrett)

    I have resolved this issue by using the WebP Express plugin. WebP images are now being correctly sent to my AMP pages.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AMP and WebP’ is closed to new replies.