Hacker News new | ask | show | jobs
by peder541 3534 days ago
If you look at the AMP docs (https://www.ampproject.org/docs/guides/discovery), publishers use <link> tags to point to the AMP page. For the original article, the AMP version lives at https://www.alexkras.com/google-may-be-stealing-your-mobile-... but the URL could follow whatever scheme the publisher wants.

Since Google search is most likely discovering the AMP page via the <link rel="amphtml"> tag, they really should just use that URL. The Google servers do add a couple minor things beyond being a distributed cache though. First, there's swipe navigation to other articles if the link was located in the top carousel in search results. Second, if you are on a laptop, the Google servers will redirect you to the full version rather than use the AMP cache.