News for hackers. Stuff that matters.
Re:Airbnb is putting AMP at the core of its digital strategy by callahad on Tuesday February 20, 2018 @03:38PM (#16423961)
In a large enough organization, improving site performance is hard, as you have to win political battles against your marketing / bizdev teams, denying them the analytics packages they want in the name of performance.

"We could do that, but then we'd lose the special AMP placement on Google SERPs" is a much more compelling argument, and preferable to starting a proxy war between the CMO and the CTO.

Google has done a hell of a job flexing their Search muscles to encourage the behavior they want, here. All the while somehow open-washing the project so that SEO-types make the ridiculous statements you quoted, implying that AMP isn't a Google owned-and-run project.

On an engineering level, I respect AMP. From an anti-competitive / social engineering perspective, it's absolutely terrifying.

Re:Airbnb is putting AMP at the core of its digital strategy by lern_too_spel on Tuesday February 20, 2018 @05:25PM (#16424825)
Why is it absolutely terrifying or anticompetitive? Microsoft implements its own AMP cache and has decided to use similar presentation for its AMP results. Baidu and Yahoo! Japan, both dominant in their own markets, also implement AMP caches.
Re:Airbnb is putting AMP at the core of its digital strategy by jakecopp on Tuesday February 20, 2018 @06:57PM (#16425499)
Could you elaborate on this, I'm interested? It is Google's AMP spec or their own version?
Re:Airbnb is putting AMP at the core of its digital strategy by Itaxpica on Wednesday February 21, 2018 @01:47AM (#16427408)
The AMP spec, as written, allows anyone to host an AMP cache and serve AMP pages. Google’s is the biggest and the one you reach through Google search so people tend to assume it’s the only one, but Cloudflare runs one as well, along with the ones mentioned in the parent comment.

For more details, you can read the (very readable) AMP docs: https://www.ampproject.org/docs/guides/how_cached

Re:Airbnb is putting AMP at the core of its digital strategy by diggan on Wednesday February 21, 2018 @07:14AM (#16428854)
I've done a previous comment on HN asking someone for a link to the spec for the AMP cache, but there is none. How can you claim it's a open technology (pointing at Google, not Itaxpica or any others on HN) when there is no way (except reverse-engineer) to figure out how the cache works?
Re:Airbnb is putting AMP at the core of its digital strategy by Itaxpica on Wednesday February 21, 2018 @10:23AM (#16430053)
The spec is on github: https://github.com/ampproject/amphtml/tree/master/spec and the code itself is one level up (github.com/ampproject/amphtml)

Here’s the section on guidelines for implementing an AMP cache: https://github.com/ampproject/amphtml/blob/master/spec/amp-c...

Re:Airbnb is putting AMP at the core of its digital strategy by underwater on Tuesday February 20, 2018 @04:33PM (#16424402)
AMP has a whole suite of technical limitations that are unrelated to the problem being solved. For example they limit pages to 50k (pre-gzip) of unlined CSS rather than allowing stylesheets to be linked. This is not how sites are generally built, and at least for me, meant rebuilding large parts of my build process.

Google engineers seem to have a hard time differentiating between a platform and a framework. PWAs and suffer from the exact same problem. They’re great if you build a greenfield product to their exact specs, but difficult to use otherwise.

Re:Airbnb is putting AMP at the core of its digital strategy by dragonwriter on Tuesday February 20, 2018 @09:11PM (#16426288)
> AMP has a whole suite of technical limitations that are unrelated to the problem being solved. For example they limit pages to 50k (pre-gzip) of unlined CSS rather than allowing stylesheets to be linked.

How is limiting size and server round-trips of CSS not related to the problem being solved by AMP?

Re:Airbnb is putting AMP at the core of its digital strategy by SahAssar on Wednesday February 21, 2018 @01:12AM (#16427260)
Because that's a problem that should be solved with HTTP2 push, not with inlining.
Re:Airbnb is putting AMP at the core of its digital strategy by fooker on Wednesday February 21, 2018 @05:09AM (#16428333)
Why can AMP pages not use that? This seems like an orthogonal issue.
Re:Airbnb is putting AMP at the core of its digital strategy by SahAssar on Friday February 23, 2018 @02:04AM (#16444748)
They can, but instead they do it the wrong way.
Re:Airbnb is putting AMP at the core of its digital strategy by fooker on Tuesday February 20, 2018 @04:42PM (#16424486)
>'how sites are built'

I take a look at the average mobile web page and thank Google that AMP brings sone restrictions.

Re:Airbnb is putting AMP at the core of its digital strategy by underwater on Tuesday February 20, 2018 @06:10PM (#16425169)
Then why pretend that it’s still just a web page? Google might as well drop the charade and push an proprietary binary format.
Re:Airbnb is putting AMP at the core of its digital strategy by Spivak on Tuesday February 20, 2018 @08:24PM (#16426043)
Because becoming essentially Chrome only is the antithesis of their core business model of getting as many eyeballs as possible. Not particularly good for the web either.

From a technical standpoint it wouldn't surprise me if people start proposing binary formats that beat text/plain + gzip in size and speed.

Re:Airbnb is putting AMP at the core of its digital strategy by fooker on Tuesday February 20, 2018 @10:59PM (#16426730)
>From a technical standpoint it wouldn't surprise me if people start proposing binary formats that beat text/plain + gzip in size and speed.

Webassembly

Re:Airbnb is putting AMP at the core of its digital strategy by hrktb on Wednesday February 21, 2018 @12:47AM (#16427171)
protocol buffer ?
Re:Airbnb is putting AMP at the core of its digital strategy by realusername on Tuesday February 20, 2018 @11:48PM (#16426929)
> Google might as well drop the charade and push an proprietary binary format.

That's exactly what they are doing with Instant Apps, they just try different strategies to control the web more at the same time.

Re:Airbnb is putting AMP at the core of its digital strategy by donohoe on Tuesday February 20, 2018 @10:13PM (#16426540)
Yes - if you have ad networks to deal with.

Airbnb really doesn’t.