A. M. Douglas

AMP: full circle

A few months ago I declared that AMP-HTML was of little use to a blog, especially one has finely-tuned for performance as mine, which serves nothing but text and woff2 fonts.

And yet, up until a few days ago, if you were to open your web inspector tools you would have seen that this was a valid AMP-HTML page. Why did I implement it anyway?

My primary motivation for implementing AMP-HTML on my own site was to learn the ins and outs of the system. What I discovered was that, while very easy to integrate into existing systems, the benefits are somewhat negligible for anybody publishing content on a less than real-time basis.

What do I mean by this? Well, AMP has one selling point for businesses: a place in the AMP carousel on mobile, literally the top spot, along with instant content delivery from the AMP CDN. Very nice. The problem is that your business probably doesn't generate daily news articles like The Guardian or The Washington Post does, so your content is unlikely to qualify for the AMP carousel.

Blog articles certainly don't, as I discovered through experience, and while this might be expanded in the future, I was generally finding the experience a little futile. For starters, my pages were blank on my iPhone 5 running iOS10β5. While this is to be expected with a developing library/framework, it still annoyed me and made me fear for a website's theoretical readership (probably 2 people in my case) who would be unable to see content or navigate further.

Analytics is also far from a state of readiness, and while some interesting things are in the pipeline like amp-list, a custom element for fetching related content from a REST API, I just couldn't see a benefit to persevering with the AMP framework.

So, once again, I've decided to go it alone without AMP. Another motivating factor behind this decision was my recent composition of the pfetch JavaScript library and my desire to expand and use it on my site in place of pjax, which is obviously not really applicable in the case of a site using AMP. AJAXing content around improves perceived performance more than a potentially blank screen and bragging rights about a thunderbolt emoji in my root element ever will.

Labels: ,

0 Comments:

Post a Comment