https://mozilla.github.io/standards-positions/
https://www.zdnet.com/article/former-mozilla-exec-google-has...
Does Real URL mean that I can no longer do this? How can I find the URL of the page I really want to see?
Copy and paste it to a new tab and you're off to the races.
AMP is an objectively bad thing, designed to further strengthen googles control over the web.
I’ll be encouraging my customers who currently do or may have used cloudflare to use alternative solutions from now on.
Edit: removed weird extraneous “that”
Not making an AMP judgement in this comment, just asking if the technical capability exists.
Who's javascript/cookies run in a real URL amp page, if any?
What happens if I hit refresh, does it reload the AMP page or the real page?
Can a webpage that isn't Google use real domain AMP pages? In that case, can their javascript influence the page at all? (ie change the look, put elements over it, make http requests)
> Who's javascript/cookies run in a real URL amp page, if any?
The document operates as the signed origin, so cookies, CORS etc all operate as the signed origin (the one in the URL bar). The HTTP request is made using the request URL's origin however, so the server delivering the signed exchange has no cookie access to the signed origin's cookies.
> What happens if I hit refresh, does it reload the AMP page or the real page?
A refresh will cause the browser to make a normal HTTPS request to the origin in the URL bar. A refresh works identically to what it has in the past, essentially.
> Can a webpage that isn't Google use real domain AMP pages?
Yes. It is a spec that browsers can support, and any site can use. There is nothing Google specific, or even AMP specific, about the specification.
> In that case, can their javascript influence the page at all? (ie change the look, put elements over it, make http requests)
No. Conceptually, you can think of a signed exchange as a 301 redirect to a new URL which has already been cached by the browser (so there is no 2nd network event). The cache was populated by the contents of the signed exchange, assuming the signature validates.
In this case it's significantly more secure though, as the exact request and response are signed and a third-party you trust (your browser) is deciding if that signature matches.
Today’s browsers trust all user-configured proxies implicitly and no other proxies at all, so providing a signed copy of the GET-only AMP content, it can be safely cached (the “replay attack”) without needing to trust the cache, because it’s signed plaintext.
When you permit a proxy to replay your content, it's just caching. It's not an "attack." (If the proxy can replay your content without your permission, that would be an attack.)
"AMP pages must...Contain a <script async src="https://cdn.ampproject.org/v0.js "></script> tag inside their <head> tag."
https://amp.dev/documentation/guides-and-tutorials/start/cre...
Their special tags[1] won't render without it, and I suspect Google won't include it in their SERPS if it's not valid AMP.
[1] https://amp.dev/documentation/guides-and-tutorials/learn/spe...
(Disclosure: I work at Google)
If you're looking for a super in-depth technical post which includes all sorts of wonderful bits about the engineering and cryptography involved don't miss https://blog.cloudflare.com/real-urls-for-amp-cached-content...
AMP Real URL was built by engineers Avery Harnish (started when Avery was an intern!) and Gabbi Fisher, and is built on top of our Workers [1] tech.
1- https://www.cloudflare.com/products/cloudflare-workers/