3 ms·
The result of this will probably be websites doing even more work on the server to conform to the requirements of AMP, which if done correctly will increase req
by kevingadd 10y ago
The result of this will probably be websites doing even more work on the server to conform to the requirements of AMP, which if done correctly will increase request latency. Then the AMP developers get to look at their (client-side) metrics and go look how much smaller we made our numbers!
(I still think AMP is a good idea, but side-effects need to be considered at scale)
An ideal solution for simple pages would be to run a build tool before deployment that adds width/height attributes to all your image tags by checking the files. You could probably do this pretty easily before minification.