Reputation: 66
I've seen some mention of pre-rendering with AMP pages. Specifically, the project's how-it-works page (https://www.ampproject.org/how-it-works/) says:
AMP documents are from the ground up designed to be efficiently pre-renderable. Browsers have long supported pre-rendering through the <link rel=prerender> tag, but they need to be conservative about this mechanism because prerendering can be expensive. With AMP HTML we added the ability to tell a document: render yourself, but only as far as what is visible above the fold and only elements which are not CPU intensive to minimize the cost of pre-rendering.
I'd like to understand more about how the pre-rendering works:
Upvotes: 4
Views: 1532
Reputation: 850
I wrote about how prerendering works in AMP in this post.
We do not yet have great docs on how to use this, but it is one of our goals for this year to provide stable SDKs for web, iOS and Android that has prerendering builtin.
Upvotes: 4