We are also getting the following alerts from pagespeeed as well.
Properly size images
Efficiently encode images
———
We were using Bunny.net CDN but i noticed you recommended not to use a CDN
https://ww.wp.xz.cn/support/topic/webp-images-on-amp-pages/
“I do not recommend using a separate CDN, and PhastPress does not support it.”
Just an FYI our page speed scores are worse using your plugin than using WP Rocket and Bunny CDN.
——
Your help is greatly appreciated.
Many thanks
Scott
Hi @scottrobins,
Serving images as WebP doesn’t work with Cloudflare unfortunately, since Cloudflare doesn’t support the “Vary” header which is used to send different image formats to different browsers.
I would not recommend using an additional CDN with Cloudflare. Cloudflare is already a CDN.
–Albert
Hi Albert.
Sorry so just to confirm, I am not using another CDN, I removed Bunny.net from my website. I am using Cloudflare but not for caching. I am using WP Rocket for caching but he de selected optimizations on it.
Kind Regards
Scott
Hi @scottrobins,
Got it.
Then the main thing you’re missing is WebP. This is because of Cloudflare. But you can pay Cloudflare for their Cloudflare Plus and get WebP support.
https://developers.cloudflare.com/images/polish
–Albert
Hi Albert
I did this but it did not seem to work for mobile. I am still getting the following for the speed test on the mobile tab.
Serve images in next-gen formats
2.7 s
Efficiently encode images
1.65 s
Properly size images
1.5 s
Kind Regards
Scott