Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Then why did you ask to see other caches? You're moving the goalposts.

No goalposts have been moved.

Once again. Slowly:

---- quote -----

AMP is designed by Google, and implemented almost exclusively by Google. It is also used in the most popular search engine in a way that makes AMP feel like it's fast.

Meanwhile: - it's not fast without Google's overpowered cache/CDN (that no one has a chance to replicate)

- it's not even valid HTML

---- end quote ----

You cannot replicate Google's cache for the following reasons:

- Google's search is dominant.

- Google's search uses and will use Google's own AMP cache.

- Google's own AMP cache relies on Google's infrastructure.

Even if you create an AMP-compliant cache:

- Google will not use it.

- It's highly unlikely that you will be able to match its power and speed.

How is AMP open and fast again?

> By a validator that doesn't understand HTML5. Try your browser

Nope. The browser is able to render AMP pages just because the browsers have historically tried to make the best out of shitty HTML.

Let's start from the top.

Do you know that this is invalid HTML 5?

    <html :lightning emoji:>
HTML5 living standard sections 4.1.1 and 3.2.6.

Do you know that this is invalid HTML 5?

    <script async custom-element="amp-carousel" src="">
HTML5 living standard sections 4.12.1 and 3.2.6.

Do you know that this is invalid HTML5?

    <head>
       <style amp-boilerplate></style>
    </head>
HTML5 living standard sections 4.2.6 and 3.2.6.

Shall I continue?

You see, in order to know that it's enough to just stop drinking in Google's propaganda and actually look at what the web has to offer, and how all of this stuff works.



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

Search: