Is Pagespeed compatible with Retina Images?

1,667 views
Skip to first unread message

Isaac Cubas

unread,
Mar 27, 2015, 2:06:23 PM3/27/15
to pagespeed-ins...@googlegroups.com

I am working on responsive website. I have code that loads the right image size for the screen size, with img srcset and picturefill this is what google recommends here https://developers.google.com/web/fundamentals/media/images/images-in-markup?hl=en

The problem I am facing is that I am using Retina images for some of the mobile devices. Meaning that the images downloaded by the client have a bigger size than width attributes. Now Google pagespeed is now complaining saying that I should optimize my images. But the problem is if I reduce the size of the images I will loose the quality for the retina display.

Doesn't Google Pagespeed support Retina images? Is there a way to tell Google Pagespeed that those are retina images?

Or is there a best practice from Google for Retina images?

Thanks


Carlos Lizaga Anadon

unread,
Mar 27, 2015, 2:41:13 PM3/27/15
to pagespeed-ins...@googlegroups.com
Greetings,

Can you provide an example URI of your site so we can check your srcset implementation?

Regards.

Isaac Cubas

unread,
Mar 27, 2015, 3:18:03 PM3/27/15
to pagespeed-ins...@googlegroups.com

The image I´am tested is informaciondientes-1-758x353.jpg, the first of the article.

Thanks

Rick Steinwand

unread,
Mar 30, 2015, 8:03:21 AM3/30/15
to pagespeed-ins...@googlegroups.com
<picture> and <img srcset> aren't supported yet by Pagespeed Insights. I have the same problem. There is a thread dedicated to that.

Rick Steinwand

unread,
Mar 30, 2015, 8:04:36 AM3/30/15
to pagespeed-ins...@googlegroups.com

Isaac Cubas

unread,
Mar 31, 2015, 3:35:24 AM3/31/15
to pagespeed-ins...@googlegroups.com
Ok, I see there is no solution yet.

We´ll wait for google team to update pagespeed for srcset support

Thanks



El lunes, 30 de marzo de 2015, 14:04:36 (UTC+2), Rick Steinwand escribió:
Reply all
Reply to author
Forward
0 new messages