3 ms·
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
by bduerst 7y ago
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_your_job_want_you 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.
- JMTQp8lwXL 7y agoAMP'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/validator-main.protoascii#L4716 https://github.com/ampproject/amphtml/blob/master/validator/...
- joshuamorton 7y agohttps://github.com/ampproject/amphtml/blob/master/caches.json https://github.com/ampproject/amphtml/blob/master/caches.jso... Google, Bing, Cloudflare are the three official caches, which is what I think they mean.
- bduerst 7y agoNot 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/validation-workflow/validate_amp 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.