Our Low Overhead Means Lower Costs For You!


AMP support for WordPress

Read Time: < 1 min

Automattic Adds AMP Support to WordPress.com, Releases Plugin for Self-Hosted Sites
by Sarah Gooding, WordPress Tavern
February 24, 2016

What makes AMP pages load so quickly? Google has a strict set of optimizations that are employed to improve mobile loading:

  • Allow only asynchronous scripts
  • Size all resources statically
  • Don’t let extension mechanisms block rendering
  • Keep all third-party JavaScript out of the critical path
  • All CSS must be inline and size-bound
  • Font triggering must be efficient
  • Minimize style recalculations
  • Only run GPU-accelerated animations
  • Prioritize resource loading
  • Load pages in an instant

To see just how fast AMP is, check out the Google search demo at g.co/amp.

Automattic also released a plugin that allows self-hosted WordPress users to take advantage of the mobile performance improvements offered by AMP. The plugin has been tested since October and is currently active on 8,000 installs. For most users, it’s as easy as installing the plugin and activating it. The default styles are fairly generic but developers can refer to the documentation on GitHub to further customize AMP styles.

Read more…

Notes:

  1. There is an error in the WordPress Tavern article: To check your amp versions of posts, append /?amp to the end of the URL rather than /amp/ which on some installations will generate a 404 not found error.
  2. The plugin does not serve up AMP versions of WordPress pages, just posts.
Social Sharing

Leave a comment

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.