I am using GP Pro and GB Pro on this new site. When I run Pagespeed or Webpagetest, I see reports indicating that on mobile, the tests are serving smaller-sized images than on for desktop. Is GP, GB or WordPress core now controlling this? I do have AVIF enabled through Shortpixel, not sure if this contributes to this behaviour. Any thoughts?
By default, WordPress controls the image sizes, not GeneratePress or GenerateBlocks.
In GenerateBlocks, you can set the Image size specific to a view, but the image size is only altered through CSS. The srcset or the image served should still be controlled by WordPress.
Thank you. Given that WordPress does control this, I guess there is finally a use for the smaller media sets! By the way, when did this start happening? I was not aware of this and always thought you had to rely on a CDN to serve varying sizes. Thanks!