amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

AMP Cache optimizations make already-well-optimized images bigger (and worse-looking)

Open eeeps opened this issue 8 years ago • 3 comments

What's the issue?

Feeding an already well-optimized image into the AMP cache can result in an image which is larger (and lesser-quality, due to generation loss) than the original.

How do we reproduce the issue?

Compare (desktop Chrome, DPR: 2):

https://ericportis.com/etc/amp-imgs/

Image 1: 8.3 KB Image 2: 53.5 KB

to

https://ericportis-com.cdn.ampproject.org/c/s/ericportis.com/etc/amp-imgs/

Image 1: 11.7 KB Image 2: 69.9 KB

eeeps avatar Aug 01 '18 22:08 eeeps

@Gregable would you be able to coordinate this with the AMP Cache team?

aghassemi avatar Aug 02 '18 18:08 aghassemi

Tracked internally as 111636720.

jgluk avatar Aug 02 '18 19:08 jgluk

Closing bug as this is an AMP Cache specific. That project is tracking internally.

Gregable avatar Aug 30 '18 01:08 Gregable