amphtml
amphtml copied to clipboard
prerenderSize of 0 does not actually prevent rerendering
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?
It's a bug. Will fix.