amp.dev icon indicating copy to clipboard operation
amp.dev copied to clipboard

The AMP Cache URL converter inside amp-iframe is missing.

Open xiaotong-kk9 opened this issue 7 years ago • 5 comments

Description of the issue found on ampproject.org

  • Link: https://amp.dev/documentation/examples/guides/using_the_google_amp_cache/
  • Description: The AMP Cache URL converter inside amp-iframe is missing.

How do we reproduce the issue?

Please provide the steps to reproduce the issue:

  1. Visit link
  2. Check the AMP Cache URL Format Part.
  3. Below Here is AMP Cache URL for https://ampbyexample.com/components/amp-img:, the AMP Cache URL converter is missing. Please have a look at the content inside <amp-iframe title="Google AMP Cache tool">.

What browser are you using? Chrome 73

What O/S are you using? macOS Mojave

xiaotong-kk9 avatar Apr 11 '19 03:04 xiaotong-kk9

Thanks for reporting, the sample has been turned into a guide: https://amp.dev/documentation/guides-and-tutorials/learn/amp-caches-and-cors/amp-cache-urls.html?format=websites

But seems like we forgot to remove it. We should also setup a redirect to the guide.

sebastianbenz avatar Apr 11 '19 07:04 sebastianbenz

Thank you! This is super helpful.

xiaotong-kk9 avatar Apr 11 '19 11:04 xiaotong-kk9

Is it possible to add the converter tool that was previously available at https://ampbyexample.com/advanced/using_the_google_amp_cache/ to amp.dev?

The tool was very useful, I used it often. If not, is the code for the converter tool available?

Thank you,

MadisonMiner avatar Apr 23 '19 21:04 MadisonMiner

The tool is here: https://amp.dev/documentation/guides-and-tutorials/learn/amp-caches-and-cors/amp-cache-urls.html?format=websites

There is also a node API available here: https://github.com/ampproject/amp-toolbox/tree/master/packages/cache-url

sebastianbenz avatar Apr 23 '19 21:04 sebastianbenz

Awesome! Both links are helpful. Thank you.

https://www.linkedin.com/in/madisonminer/

Madison Miner | WompMobile

Founder

p: 360.329.2653 <3603292653> | w: wompmobile.com http://www.wompmobile.com/

1117 Ellis Street | Bellingham, WA 98225

ᐧ

On Tue, Apr 23, 2019 at 2:43 PM Sebastian Benz [email protected] wrote:

The tool is here: https://amp.dev/documentation/guides-and-tutorials/learn/amp-caches-and-cors/amp-cache-urls.html?format=websites

There is also a node API available here: https://github.com/ampproject/amp-toolbox/tree/master/packages/cache-url

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ampproject/docs/issues/1841#issuecomment-485986009, or mute the thread https://github.com/notifications/unsubscribe-auth/ADDW2PD65ZKQ67JFJVZRE4LPR57GHANCNFSM4HFCWHTQ .

MadisonMiner avatar Apr 23 '19 21:04 MadisonMiner