From 899b642d66ce2af3828fdecfbc1d41219001510a Mon Sep 17 00:00:00 2001 From: Greg Grothaus Date: Mon, 5 Aug 2019 13:58:01 -0700 Subject: [PATCH 1/3] Add link to amp.dev docs for Signed Exchanges in AMP Packager Readme. Fixes #305. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 835999242..4d6c41833 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # AMP Packager -AMP Packager is a tool to [improve AMP -URLs](https://www.ampproject.org/latest/blog/developer-preview-of-better-amp-urls-in-google-search). +AMP Packager is a tool to [Serve AMP using Signed Exchanges](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/) which in turn [improves AMP +URLs](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/). By running it in a proper configuration, web publishers may (eventually) have origin URLs appear in AMP search results. @@ -9,7 +9,7 @@ The AMP Packager works by creating [Signed HTTP Exchanges (SXGs)](https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html) containing AMP documents, signed with a certificate associated with the origin, with a maximum lifetime of 7 days. In the future, the [Google AMP -Cache](https://www.ampproject.org/docs/fundamentals/how_cached) will fetch, +Cache](https://amp.dev/documentation/guides-and-tutorials/learn/amp-caches-and-cors/how_amp_pages_are_cached/) will fetch, cache, and serve them, similar to what it does for normal AMP HTML documents. When a user loads such an SXG, Chrome validates the signature and then displays the certificate's domain in the URL bar instead of `google.com`, and treats the @@ -139,7 +139,7 @@ You may also want to: 1. Launch `amppkg` as a restricted user. 2. Save its stdout to a rotated log somewhere. - 3. Use the [provided tools](https://www.ampproject.org/docs/fundamentals/validate) + 3. Use the [provided tools](https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validate_amp/) to verify that your published AMP documents are valid, for instance just before publication, or with a regular audit of a sample of documents. The [transforms](transformer/) are designed to work on valid AMP pages, and From e065f83f0996404a13d2d859131712adc592e220 Mon Sep 17 00:00:00 2001 From: Greg Grothaus Date: Mon, 5 Aug 2019 15:09:47 -0700 Subject: [PATCH 2/3] Fix link. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d6c41833..8d5c99dde 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # AMP Packager AMP Packager is a tool to [Serve AMP using Signed Exchanges](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/) which in turn [improves AMP -URLs](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/). +URLs](https://blog.amp.dev/2018/11/13/developer-preview-of-better-amp-urls-in-google-search/). By running it in a proper configuration, web publishers may (eventually) have origin URLs appear in AMP search results. From 10f91ea17575d8919682cad5c574090cfa71d018 Mon Sep 17 00:00:00 2001 From: Greg Grothaus Date: Mon, 5 Aug 2019 16:13:16 -0700 Subject: [PATCH 3/3] swap link order --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d5c99dde..009e2183e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # AMP Packager -AMP Packager is a tool to [Serve AMP using Signed Exchanges](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/) which in turn [improves AMP -URLs](https://blog.amp.dev/2018/11/13/developer-preview-of-better-amp-urls-in-google-search/). -By running it in a proper configuration, web publishers may (eventually) have -origin URLs appear in AMP search results. +AMP Packager is a tool to [improve AMP +URLs](https://blog.amp.dev/2018/11/13/developer-preview-of-better-amp-urls-in-google-search/) by [serving AMP using Signed Exchanges](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/). By running it +in a proper configuration, web publishers may (eventually) have origin URLs +appear in AMP search results. The AMP Packager works by creating [Signed HTTP Exchanges (SXGs)](https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html)