amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

prerenderSize of 0 does not actually prevent rerendering

Open ericfs opened this issue 11 years ago • 1 comments

This may just be confusion on my part, but I would expect the AMP doc to load no resources when prerenderSize is 0. That was my interpretation of this comment: https://github.com/ampproject/amphtml/blob/master/src/viewer.js#L241 but I realize it is potentially ambiguous. But it looks like it will always load at least one screen worth of resources: https://github.com/ampproject/amphtml/blob/master/src/resources.js#L408 Am I just missing something? Will this actually not matter when visible_ is false?

ericfs avatar Oct 02 '15 18:10 ericfs

It's a bug. Will fix.

dvoytenko avatar Oct 02 '15 20:10 dvoytenko