Hacker News new | ask | show | jobs
by detaro 2551 days ago
> Listen -- AMP is merely a set of guidelines and a framework to help developers make media-rich web content load fast. You can obviously achieve the same results without AMP, just like you can write a SPA without a framework. Duh.

Basically all criticism of AMP is about the fact that this is not true. If Google said "we prioritize fast pages, here's some guidelines and code on how to do that", that'd be fine. But they've tied features to using exactly their framework and nothing else.

Like AMP, but don't want to show 8 seconds of empty page to users without JS, or want to remove any of the other weird issues it had at times? Too bad, changing that code means it is not valid AMP anymore. Want to self-host the AMP source code? Too bad, not valid AMP anymore.

1 comments

>don't want to show 8 seconds of empty page to users without JS

That's incorrect. AMP pages support noscript.

Specifically, if you disable JavaScript entirely, they load cleanly (via the no script tag).

If you block just the amp js endpoint, they have a fallback for slow confections that waits a few seconds before rendering to avoid page redraws. This is the 8-second thing.