#2051 - Support Google's AMP

Identifier #2051
Issue type Feature request or suggestion
Title Support Google's AMP
Status Open
Tags

Type: Cross-cutting feature (custom)

Type: Mobile (custom)

Type: SEO (custom)

Handling member Deleted
Addon core
Description Google have released a framework for making high-performance mobile web pages:

https://www.ampproject.org/

It is a JS library and strict set of standards for how pages should be put together.

3rd party JavaScript is not allowed, unless via a new AMP component, running inside an iframe.

Supporting this would be a big job, and a real step sideways, because it is very antithetical to the direction the web has gone in in the last 10 years. It brings back iframes, and pushes back JavaScript and responsive design.

The general approach makes sense though.

Issues/concerns I have:
1) Google developed this in secret alongside preselected partners, before making it 'open'. I don't like secret standard bodies that are actually corporations with their own motivations.
2) Google is acting as a gatekeeper for what components will be official, and have launched with a set of components for proprietary services. Having a gatekeeper for the web in front of any new commercial service is worrying, there is great scope for abuse and conflict of interest. For example Google may decide they have too many commercial service components, and start picking what winners should be official.
3) Heavy caching means this is tuned for static pages, rather than social features. Social features (e.g. ratings, comments) would get done via new components, which would take time to make.
4) We would need to switch to specifying width&height of things like carousel contents, rather than letting content auto-size. That's a big shift in approach that impinges on the content management process (e.g. making sure content summaries are a certain length and having people make explicit templating changes to alter that).
5) We would have to put heavy restrictions on Comcode, making sure anything dynamic comes out through an AMP component.
6) We would likely need some kind of inbuilt validation into the CMS to stop users making content that doesn't follow the rules (e.g. trying to embed third-party JavaScript directly into pages).
7) We would need to serve from separate AMP-optimised stylesheets that meet strict rules. This couldn't be more at-odds with the responsive design approach.

One advantage is the AMP approach aligns nicely with CSP by prohibiting inline JavaScript and focusing on a centrally-managed component-based approach.
Steps to reproduce

Related to

#1961 - Support Apple's new news format

#3540 - De-Googleificiation (idea staging issue)

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated