Live data from Hacker News

CPP: A Standardized Alternative to AMP

timkadlec.com

91–97 of 97 posts

Re: CPP: A Standardized Alternative to AMP

#91
post #89
post #81

Earlier quoted context omitted.

Aren't the AMP pages anyway delivered from the Google servers to the users? Then Google can track them anyway? I'm just a casual observer and that's just how I understood the idea.

AMP pages are served from the publisher's server as usual, but Google can easily direct their users to their cache instead of the official site. Every AMP page also includes JavaScript hosted by Google, so Google gets pinged every time someone visits an AMP page, even if it wasn't through their cache.

https://developers.google.com/amp/cache/

"Google products, including Google Search, serve valid AMP documents and their resources from the cache to provide a fast user experience across the mobile web."

So it's Google who does deliver from the cache. Moreover, they motivate others to do the same on the same page.

Re: CPP: A Standardized Alternative to AMP

#93
post #91
post #89

Earlier quoted context omitted.

AMP pages are served from the publisher's server as usual, but Google can easily direct their users to their cache instead of the official site. Every AMP page also includes JavaScript hosted by Google, so Google gets pinged every time someone visits an AMP page, even if it wasn't through their cache.

https://developers.google.com/amp/cache/ "Google products, including Google Search, serve valid AMP documents and their resources from the cache to provide a fast user experience across the mobile web." So it's Google who does deliver from the cache. Moreover, they motivate others to do the same on the same page.

Yes, Google can direct its own users to the cache, and others can also link to the cache. But if you or someone else link directly to the page, it is not served from Google's cache. Google would not be able to track those visits except for the fact that the page also loads content (at the very least, the AMP JavaScript) from Google's servers. AFAIK, it is not considered "valid" if you serve the JavaScript yourself.

Re: CPP: A Standardized Alternative to AMP

#94
post #23

Earlier quoted context omitted.

There is a thing in HTML5 called Subresource Integrity ( https://developer.mozilla.org/en-US/docs/Web/Security/Subres... ). It looks like this: I wonder if browsers could keep a cache with those hashes as keys and whenever the integrity hash has a match, then it can take the JS from the cache. That would save huge amounts of bandwidth and pages would be so much faster to load. Probably right now we're fetching the sa…

> There is a thing in HTML5 called Subresource Integrity It piqued my interest, but I was disappointed to discover that it's only supported by Gecko & Blink[1] - not supported by Safari or IE/Edge. Javascript is currently unavoidable for offline apps. 1. http://caniuse.com/#search=integrity

It’s a progressive enhancement. Browsers that don’t understand the integrity attribute will just load the JS regardless, but at least Firefox and Chrome will get a safer experience.

Re: CPP: A Standardized Alternative to AMP

#95
post #90
post #43

Earlier quoted context omitted.

Search engines already deal just fine with context. Just type in “cpp language” or “cpp html,” respectively. I think everyone keeps making name collisions to be a much bigger deal than they are in reality.

cpp html: http://imgur.com/gV3dMI9 It's going to take significant momentum to displace "CPP" in the appropriate computing contexts.

Yeah but if you search for “cpp amp” it’s already mid-page, despite there being a C++ project with the same name. The page has hardly any backlinks yet.

Anyway if discoverability is an issue they can always give it a catchy marketing name (Project Swift Gazelle) later. CPP is the appropriate name for the proposal, given the relevant context.

Re: CPP: A Standardized Alternative to AMP

#97
No alternative can take part of AMP, now it become standard and there are hundred of scripts and plugin available for it. I am using WordPress plugins https://talktopoint.com/wordpress-amp-and-instant-articles/ and they are just working fines. What is need of this new alternative and why should I use it?
Post reply on HN