Hacker News new | past | comments | ask | show | jobs | submit login

Amp. Amp is what really scares me about the future of web browsing in chrome.



Pardon my ignorance, but could you elaborate?

What is Amp, and why is it so scary?


Here's an amp page (although it will redirect to regular reddit if you're not on a mobile device):

https://www.google.com/amp/s/amp.reddit.com/r/explainlikeimf...

Basically it's a way for google to promote web pages that are better formatted for mobile devices that use a limited subset of html and restrict use of javascript. The pages are hosted on google.com as additional assurance that they will load quickly.

I do believe it's scary to some because it seems like it's giving google a lot of power and control over content on the web.


More direct AMP link: https://amp.reddit.com/r/explainlikeimfive/comments/5d4x2h/e...

The original page is hosted on the original domain. What other hosts provide are AMP caches to display them faster. For example, Microsoft Bing:

- https://blogs.bing.com/search/September-2016/bing-app-joins-...

- https://blogs.bing.com/Webmaster-Blog/September-2018/Introdu...

- https://www.bing-amp.com/c/s/amp.reddit.com/r/explainlikeimf...


JavaScript disabled? Please stare at our Google-sponsored white screen for eight seconds.


AMP is like the bogeyman here on HN, when it is really just another web framework.

>The pages are hosted on google.com

Anyone can roll their own AMP pages and host it on their domains. For example: https://amp.reddit.com/r/AskReddit/comments/6yj6iw/what_did_...

This includes getting your own amp lightning icon in search results when you host with certified CDNs.


AMP's HTML validator has a hard dependency on cdn.ampproject.org [0]. So the hosting requirements aren't fully isolated, and entirely under your control.

Also, I could not find a list of certified CDNs.

[0]: https://github.com/ampproject/amphtml/blob/master/validator/...


https://github.com/ampproject/amphtml/blob/master/caches.jso...

Google, Bing, Cloudflare are the three official caches, which is what I think they mean.


Not true, you can validate AMP from localhost. The AMP.js packages comes bundled with it's own validator:

https://amp.dev/documentation/guides-and-tutorials/learn/val...

Even then it's quite a stretch to go from saying Google controls AMP to saying the validator has an online requirement. Also, as the other commenter said, Google, Bing, and Cloudflare are currently the certified CDNs to get the icon in search results.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: