🚀 Dont autogenerate sizes if the ssr image contains sizes already, or is ssr'd using a transformer#32647
Conversation
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
lannka
left a comment
There was a problem hiding this comment.
sorry being late. the change looks good to me
|
Hi all! Sorry for delay. I was OOO. If I'm reading this right, this will disable sizes generation in cached pages. Not sure if that's what you were going for? If we want to do this, IMHO, we might as well remove the concept sizes-generation entirely from the amp-img. |
This will only disable automatic In general: agree with removing the concept, if we can prove its non-breaking. |
To confirm: this PR does just that - disables automatic sizes generation for cached pages. Is that right? |
|
It removes the auto-generation for images with the attribute I am quite nervous about the backward compatibility, asked here: https://github.com/ampproject/amphtml/pull/32647/files#r575565890. |
|
There's pretty much my question as well. The |
|
Afaik it'll only be generated for server-side generated |
|
/cc @jridgewell to confirm in which cases we render |
Fixes #32644.