4 ms·
I’ve tested the AMP and regular versions of a The Guardian article page, and the AMP version is more than 4 times smaller in terms of transferred KBs, coming in
by SimeVidas 9y ago
I’ve tested the AMP and regular versions of a The Guardian article page, and the AMP version is more than 4 times smaller in terms of transferred KBs, coming in at about 300 KB. Yes, JavaScript represents more than half of that size, and there are 16 separate script files, but in comparison to the regular page, it’s a significant improvement.
Note: I’ve tested with an ad/tracking blocker.
- pmlnr 9y agoThat 150KB js needs to be executed in the browser, most of which could be simple HTML and CSS.
- SimeVidas 9y agoI was implying that AMP leads to a reduction of JS in practice. Of course, if you have a very simple blog which loads very little JS to begin with, AMP could make things “worse.” But these types of blogs are an exception—unfortunately.
- jacquesm 9y agoThe funny thing is that that Guardian article page is probably less then 10Kb in content to begin with. It's all the cruft on the page that makes it large, and AMP is also cruft, just less of it.
- SimeVidas 9y agoThe main content does indeed load after disabling JavaScript. The page size is about 60 KB in that case.