{"id":21205,"date":"2018-04-11T14:34:04","date_gmt":"2018-04-11T18:34:04","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=21205"},"modified":"2018-04-11T14:36:25","modified_gmt":"2018-04-11T18:36:25","slug":"how-fast-is-amp-really","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/04\/11\/how-fast-is-amp-really\/","title":{"rendered":"How Fast Is AMP Really?"},"content":{"rendered":"<p><a href=\"https:\/\/timkadlec.com\/remembers\/2018-03-19-how-fast-is-amp-really\/\">Tim Kadlec<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=16730905\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/timkadlec.com\/remembers\/2018-03-19-how-fast-is-amp-really\/\"><p>As Ferdy pointed out, when you click through to an AMP article from Google Search, it loads instantly&mdash;AMP&rsquo;s little lightning bolt icon seems more than appropriate. But what you don&rsquo;t see is that Google gets that instantaneous loading by actively preloading AMP documents in the background.<\/p>\n<p>[&#8230;]<\/p>\n<p>On the other hand, it does appear that AMP documents tend to be faster than their counterparts. AMP&rsquo;s promise of improved distribution cuts a lot of red tape. Suddenly publishers who have a hard time saying no to third-party scripts for their canonical pages are more willing (or at least, made to) reduce them dramatically for their AMP counterparts.<\/p>\n<p>AMP&rsquo;s biggest advantage isn&rsquo;t the library&mdash;you can beat that on your own. It isn&rsquo;t the AMP cache&mdash;you can get many of those optimizations through a good build script, and all of them through a decent CDN provider. That&rsquo;s not to say there aren&rsquo;t some really smart things happening in the AMP JS library or the cache&mdash;there are. It&rsquo;s just not what makes the biggest difference from a performance perspective.<\/p>\n<p>AMP&rsquo;s biggest advantage is the restrictions it draws on how much <em>stuff<\/em> you can cram into a single page.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Tim Kadlec (via Hacker News): As Ferdy pointed out, when you click through to an AMP article from Google Search, it loads instantly&mdash;AMP&rsquo;s little lightning bolt icon seems more than appropriate. But what you don&rsquo;t see is that Google gets that instantaneous loading by actively preloading AMP documents in the background. [&#8230;] On the other [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2018-04-11T18:34:06Z","apple_news_api_id":"9ca6f232-7ce4-4ac5-a0c7-f901d5589a90","apple_news_api_modified_at":"2018-04-11T18:36:27Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AnKbyMnzkSsWgx_kB1ViakA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[1463,346,138,96],"class_list":["post-21205","post","type-post","status-publish","format-standard","hentry","tag-accelerated-mobile-pages-amp","tag-javascript","tag-optimization","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=21205"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21205\/revisions"}],"predecessor-version":[{"id":21206,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21205\/revisions\/21206"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=21205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=21205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=21205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}