The way AMP functions. Each after optimizations together is the reason why AMP web pages are incredibly quick that they may actually load immediately

You can find seven causes as a whole: however, when which’s nevertheless a great deal to understand, merely enjoy that the explainer movie:

Execute most AMP JavaScript asynchronously

JavaScript try compelling, it could alter pretty much every facet of the web web page, however it may also block DOM construction to wait page making (find out interactivity that is also adding JavaScript). To help keep JavaScript starting delaying web web page making, AMP permits sole javaScript that is asynchronous.

AMP elements could come with JavaScript beneath the bonnet, however they’re very carefully made to make certain that they do not result show degradation.

Even though personalized JS looks granted as part of amp-script, as well as JS that is third-party is as part of iframes, that it can not block making. As an example, in case third-party JS utilizes that the super-bad-for-performance document. Write API, it does not block making their leading webpage.

Measured many means statically

Exterior means such as for example photos, advertisements or perhaps iframes need state his or her shape when you look at the HTML in order that AMP can easily decide every element’s sized then place prior to means tend to be installed. AMP plenty your design of this web web web page without worrying about waiting around for any other means inside down load.

AMP uncouples report layout at site design. Only 1 HTTP demand is necessary to design each doc that is entire+fonts). Considering AMP looks fine tuned to prevent style that is expensive as well as layouts into the internet browser, truth be told there won’t feel all re-layout once means load.

Do not allow expansion mechanisms block making

AMP does not enable extension mechanisms block web web page making.

Read More