Earlier quoted context omitted.
You're not "combining" standards though. As other comments pointed out, this is not a subset of html. It's a separate spec, based on a subset of html, which is different enough that it's not quite compatible. For example, what's with the amp-prefixed tags? Why amp-img instead of img with data-amp- attributes? You also didn't address my first point: If you're building this for people who don't make the effort right no…
I think the other comments are wrong. Custom elements are a part of the web platform http://www.w3.org/TR/custom-elements/ We use amp-img instead of the img tag to be able to control when resources load (read not load them unless actually needed). Doing this with a different hack like is possible but a less explicit hack. To your first point: It might have been just the right point in time, but maybe it isn't. I argu…
A new approach to web performance
151–160 of 177 posts
Re: A new approach to web performance
#152Earlier quoted context omitted.
You might get it :) There isn't that much to it. AMP is as much about technology as finally getttig that tech adopted. Since AMP is built on web tech there is nothing in it that you cannot chose to do yourself The problem we are solving is that many sites don't.
You have an uncanny ability to write a lot of words that collectively mean nothing. Are you saying its WeB-Scale? Did you wear a hipster had while posting this?
Re: A new approach to web performance
#153Earlier quoted context omitted.
I think the other comments are wrong. Custom elements are a part of the web platform http://www.w3.org/TR/custom-elements/ We use amp-img instead of the img tag to be able to control when resources load (read not load them unless actually needed). Doing this with a different hack like is possible but a less explicit hack. To your first point: It might have been just the right point in time, but maybe it isn't. I argu…
The custom-elements document you linked to is a W3C Working Draft, not a Recommendation. It might someday be part of the Web platform (w.r.t. standardization), but for now it's just under discussion.
In the world of the web platform it doesn't get much more standard than that.
Re: A new approach to web performance
#154What annoys me is how Google is selling this project. At least Facebook is honest about their Instant Articles. This isn't an "open standard" guys, and it's not about performance! It's about the single piece of js that's allowed on AMP pages and the amp-tags such as and that only Google controls. Performance is just the story they are selling in exchange of absolute control of the Web. After all, any publisher can ea…
First of all this is not a Google-only project. There are many partners. See e.g. https://blog.twitter.com/2015/introducing-accelerated-mobile... supports all kinds of tracking. You just give it a URL. Ironically it does not work with Google Analytics but we'll fix that eventually. Most others should work. currently supports these ad networks https://github.com/ampproject/amphtml/blob/master/builtins/a... We are supe…
Re: A new approach to web performance
#155Earlier quoted context omitted.
> Remember who actually killed it? Yeah, that was also Google.. by discontinuing their Reader - a very good tool with lots of users but no revenue. If a single company killing a sigle product could kill RSS, then it wasn't that alive in the first place. The fact is, after 10 years of RSS being available in blogs, news sites and elsewhere, Reader still had an insignificant number of users in the web scale of things. A…
>Reader still had an insignificant number of users in the web scale of things. A few tens of millions an order of magnitude more than G+
G+ I have used a bit. I guess I'm not alone.
Just a data point since it seems to be unreasonably many G+ haters around here.
Re: A new approach to web performance
#156What annoys me is how Google is selling this project. At least Facebook is honest about their Instant Articles. This isn't an "open standard" guys, and it's not about performance! It's about the single piece of js that's allowed on AMP pages and the amp-tags such as and that only Google controls. Performance is just the story they are selling in exchange of absolute control of the Web. After all, any publisher can ea…
AMP is just broken HTML, hardly a standard. https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.theverge.c...
Re: A new approach to web performance
#157Earlier quoted context omitted.
So what's with the approach then? Why would websites choose to use AMP (whatever "using AMP" means), when they don't apply common sense in the first place? Forgive the skepticism but this screams XKCD927.
One of the things that AMP allows is to know that is it save to prerender a page. Documents can be instructed by a viewer to e.g. only load resources visible above the fold and absolutely no external JS. With general web content prerendering is pretty dangerous and you certainly cannot do it with say more than 1 doc at a time because it may use arbitrary bandwidth and CPU. That allows for instant feeling loading of p…
Which begs the questions: Who prerenders and on what criteria?
Assume page A which has a link to AMP-forked page B.
Does that link need rel=prerender for every browser? Does one need to query the AMP-ness of every page one links to? Does one need to be Googles page cache to link to AMP-pages and get in the benefit of prerendering?
Or is the prerendering implemented in the AMP runtime? Does it only work if page A and page B are both AMP-enhanced?
Re: A new approach to web performance
#158What annoys me is how Google is selling this project. At least Facebook is honest about their Instant Articles. This isn't an "open standard" guys, and it's not about performance! It's about the single piece of js that's allowed on AMP pages and the amp-tags such as and that only Google controls. Performance is just the story they are selling in exchange of absolute control of the Web. After all, any publisher can ea…
First of all this is not a Google-only project. There are many partners. See e.g. https://blog.twitter.com/2015/introducing-accelerated-mobile... supports all kinds of tracking. You just give it a URL. Ironically it does not work with Google Analytics but we'll fix that eventually. Most others should work. currently supports these ad networks https://github.com/ampproject/amphtml/blob/master/builtins/a... We are supe…
It's the data sharing which is worrying. Exactly which entities have access to what data gathered by `ampproject.org`?
Re: A new approach to web performance
#159Earlier quoted context omitted.
Ok but that still shows how much Google cares about open standards. And did you just say "few tens of millions" of users is insignificant? How many users are we here on Hacker News again?
It's, ironically, a case of the "embrace and extinguish" philosophy that Microsoft was reviled for. I remember reading posts by several people which said they weren't going to build a RSS reader because they didn't want to compete with Google Reader.. and then they went ahead and killed it. RSS didn't really "take off" with mainstream users (I guess today's equivalent is Twitter), but it filled an interesting niche.…
/s
Re: A new approach to web performance
#160Earlier quoted context omitted.
I was as annoyed as the next person when Google killed Reader but, to be honest, RSS was killed off for typical users way before that when browser manufacturers dropped/hid support for it. I still use RSS every day, as do many of our customers.
Indeed, also Google Chrome.