The way AMP work. Each optimizations that is after tend to be the main reason AMP pages are so accelerated that they seem to load immediately

The way AMP work. Each optimizations that is after tend to be the main reason AMP pages are so accelerated that they seem to load immediately

You will find seven grounds as a whole: however, in case that is nevertheless a great deal to browse, just see that explainer video clip:

Perform almost all AMP JavaScript asynchronously

JavaScript looks mighty, it could modify pretty much every facet of the web web web page, however it may also block DOM construction then delay web web page making (notice interactivity that is also adding JavaScript). To help keep JavaScript at delaying web web web page making, AMP permits sole asynchronous JavaScript.

AMP equipment might come with JavaScript underneath the bonnet, nevertheless they’re completely built to be sure these do not trigger efficiency degradation.

When personalized JS are authorized inside amp-script, as well as JS that is third-party is as part of iframes, this can not block making. Including, in case third-party JS makes use of that the super-bad-for-performance document. Write API, it generally does not block making their primary webpage.