这是indexloc提供的服务,不要输入任何密码
Skip to content

1st class support for PWAs that load AMP docs. #3742

@cramforce

Description

@cramforce

Make it easy to build progressive web apps (PWAs) that load AMP documents as their primary content source. AMP documents in this model, would be the perma links, but a ServiceWorker can intercept them and instead deliver an app shell, which then loads the AMP document inside of it. Subsequent navigations would happen inside the app shell

  • Support rendering AMP documents into Shadow DOM, where each Shadow DOM instance holds a doc.
  • Provide for a clear mechanism for the PWA to progressively enhance the AMP document.
  • Provide a ServiceWorker library for handling document caching and app shell delivery.
  • Provide a VanillaJS sample PWA.
  • Provide React, Angular, Ember and potentially other sample PWAs implementing this pattern.

The initial design doc is here: https://docs.google.com/document/d/1rvcFY3Zhg6oUmRtaceEdOYuwjciVaHnYIn_tMvGbRME/edit?usp=sharing

Metadata

Metadata

Assignees

Labels

INTENT TO IMPLEMENTProposes implementation of a significant new feature. https://bit.ly/amp-contribute-code

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions