4

I have a blog that scores 100/100 on page speed insights mobile. It seems like I already follow most of what AMP does like inlining CSS and eliminating JavaScript.

Is there any benefit to using AMP now?

  • 1
    You should know that Google doesn't reward for insight scores or AMP, it cares about the results. Decent hosting and score above 50/100 gets that reward and even with a bad score its possible to get 1-second page renders. Personally, I'd aim for 1 second... whatever the score you get. AMP is much more than just satisfying a score sheet and will reduce render times on mobile devices no matter how your site is optimised already. – Simon Hayter Apr 30 '17 at 21:43
  • Thanks for the advice! I'll look into AMP some more then – Grayson Kent Apr 30 '17 at 23:08
3

AMP's biggest performance improvement is its ability to lazy load images and ads. From https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md:

  • HTTP requests necessary to render and fully layout the document should be minimized.
  • Resources such as images or ads should only be downloaded if they are likely to be seen by the user.
  • Browsers should be able to calculate the space needed by every resource on the page without fetching that resource.

If your page has images or ads below the fold, it is likely that AMP will be able to render your page faster by lazy loading the images.

However, it is possible to hand implement an optimized page faster than AMP. At the very least, amp requires a call to a piece of third party javascript (cdn.ampproject.org/v0.js). If you don't need the features provided by AMP, then that JavaScript call itself will bloat you site. It is possible to get results better than AMP with techniques such as:

  • Removing third party resources
  • Inline JavaScript and CSS
  • Data URI images

AMP places restrictions on development. It limits which HTML features you can use. AMP may or may not be straightforward to implement because of these restrictions.

AMP may be able to optimize your site beyond the 100/100 score on PageSpeed Insights, however it is not straightforward just to tack in on, and if you don't need image lazy load, AMP itself can be added weight to your page.

  • Thanks for the thorough breakdown! I don't use many images, but I will look into hand-piecing in parts I like from AMP. – Grayson Kent May 1 '17 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.