RFC 8752
Report from the IAB Workshop on Exploring Synergy between Content Aggregation and the Publisher Ecosystem (ESCAPE)
Report from the IAB Workshop on Exploring Synergy between Content Aggregation and the Publisher Ecosystem (ESCAPE) ๐ธ
RFC number: 8752 ๐ Authors: M. Thomson and M. Nottingham ๐ฆ Published by: the Internet Architecture Board (IAB) ๐ Category: Informational ๐ง Date: March 2020 ๐ ISSN: 2070-1721 Obsoletes / Updates: nothing listed in the header, so this one isn't replacing or changing any earlier RFC ๐
Abstract โจ
okay so the Exploring Synergy between Content Aggregation and the Publisher Ecosystem (ESCAPE) Workshop was hosted by the Internet Architecture Board (IAB) in July 2019. this report sums up its biggest discussion points and flags topics that might be worth a closer look later ๐
btw, this doc is a report on what happened at the workshop. the views and positions in it belong to the workshop participants and don't necessarily match the IAB's views and positions ๐ซถ
Status of This Memo ๐
this is NOT an Internet Standards Track spec. it's published just for info ๐ธ
this doc is a product of the Internet Architecture Board (IAB). it's basically info the IAB decided was worth keeping on the permanent record, and it reflects the IAB's consensus. documents the IAB approves for publication aren't candidates for any level of Internet Standard, see Section 2 of RFC 7841 ๐
if you want the current status, any errata, or a way to send feedback, check https://www.rfc-editor.org/info/rfc8752 ๐ฅ
Copyright Notice ๐ฆ
Copyright (c) 2020 IETF Trust and the persons identified as the document authors. All rights reserved. ๐
this doc is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) as they stand on the publication date. read them carefully, because they explain your rights and restrictions for this doc. no skipping this one bestie ๐
Table of Contents ๐ง
1. Introduction
1.1. Mention of Specific Entities
2. Use Cases
2.1. Instant Navigation
2.2. Offline Content Sharing
2.3. Other Use Cases
2.3.1. Book Publishing
2.3.2. Web Archiving
3. Interactions between Web Publishers and Aggregators
3.1. Incentives for Web Packages
3.2. Operational Costs
3.3. Content Regulation
3.4. Web Performance
4. Systemic Effects
4.1. Consolidation
4.1.1. Consolidation of Power in Linking Sites
4.1.2. Consolidation of Power in Publishers
4.1.3. Consolidation of User Preferences
4.2. Effect on Web Security
4.3. Privacy of Content
5. AMP Issues Unrelated to Web Packaging
5.1. AMP Governance
5.2. Constraints on the AMP Format
5.3. Performance
5.4. Implementation of Paywalls
6. Venues for Future Discussion
7. Security Considerations
8. Informative References
Appendix A. About the Workshop
A.1. Agenda
A.1.1. Thursday 2019-07-18
A.1.2. Friday 2019-07-19
A.2. Workshop Attendees
Appendix B. Web Packaging Overview
B.1. Authority in HTTPS
B.2. Authority in Web Packaging
B.3. Applicability
B.4. The AMP Format, Google Search Results, and Web Packaging
IAB Members at the Time of Approval
Authors' Addresses
1. Introduction โจ
okay so the IAB runs occasional workshops to think about long-term Internet issues and strategy, and to suggest where the Internet architecture could head next. this big-picture planning is a companion to the day-to-day engineering the IETF working groups do ๐ท
the IAB held the ESCAPE Workshop to look at some proposed changes to the Internet and the Web, and how they could shake up online publishing. the star of the show was the Web Packaging proposal from Google. it's being considered in the IETF, the W3C's Web Incubator Community Group (WICG), and the Web Hypertext Application Technology Working Group (WHATWG) ๐
people talked about the good stuff Web Packaging could do, but also worried it could seriously change the relationship between publishers (think news sites) and content aggregators (think search engines and social networks). so the focus was mostly on that relationship, not the nitty-gritty tech ๐
publishers don't usually show up to standards work directly, so the workshop was set up to collect their input. there were 27 participants from all kinds of backgrounds. only a few were publishers, there was one aggregator (Google), and the crowd also included browser folks, people from the Accelerated Mobile Pages (AMP) community, Content Distribution Networks (CDNs), network operators, academics, and standards bodies. for the call for papers and a full list of submissions, see [CFP] ๐ฆ
the workshop was meant to be a discussion space, so it didn't land on firm conclusions. this report is the main output instead, a record of what was said ๐
this report covers the use cases from Section 2 and the publisher-aggregator interactions that might get affected, in Section 3. Appendix A has more about the workshop itself, and Appendix B is a quick Web Packaging primer for anyone new to it ๐ง
1.1. Mention of Specific Entities ๐
everyone agreed to hold the workshop under the Chatham House Rule [CHATHAM-HOUSE]. so this report doesn't pin statements on any individual or org without their express permission. submissions to the workshop were public, though, so they can be attributed, and this report uses them for substance and context ๐ซถ
2. Use Cases ๐ธ
a big chunk of the workshop was spent arguing about which use cases Web Packaging could actually enable, and whether they're worth it. see Appendix B for the Web Packaging overview ๐
2.1. Instant Navigation ๐
okay this is the biggest real-world use of Web Packaging so far. Google Search uses it to make navigating to pages linked from search results feel faster when they're "clicked" ๐ฅ
here's how it works: when a linking (or referring) page links to pages on another site, it also gives the browser a packaged copy of the target content, signed by the origin of that target content. so the referring page basically acts as a cache for the target page's content. if you actually navigate to one of those links, having the Web Package lets the browser trust that the cache didn't change anything. so it can treat the content as if it came straight from the target page's server, even though it came from somewhere else. in lots of cases, the target page shows up way sooner ๐ฆ
a key thing here: the browser doesn't contact the target site before navigation. it doesn't send requests to sites until after navigation happens, and only if the site needs extra content or makes a direct request ๐
there are other ways to get similar speedups, like downloading content (packaged or not) straight from the target site ahead of time, which is called "prefetching". but that would tell those sites about the user's activity on the linking page, even if the user never ends up going there ๐
the technique that uses Web Packaging is also called "privacy-preserving prefetch". this doc avoids that term because people at the workshop disagreed about which parts of privacy the technique actually preserves ๐
| Note: This technique that uses Web Packaging is also referred
| to as "privacy-preserving prefetch". This document avoids that
| term as there was some contention at the workshop about which
| aspects of privacy might be preserved by the technique.
sites bundled with Web Packaging can also be built so they render without needing any extra network access. that makes near-instant navigation possible, and the proposed changes to web navigation for loading Web Packages are designed to support exactly that ๐
workshop folks agreed web performance matters for usability, and for business metrics like retention and bounce rates. it was seen as a worthwhile goal. but publishers asked whether it's worth the cost of supporting yet another format, and others had concerns about different parts of the Web Packaging proposal ๐
2.2. Offline Content Sharing ๐ฆ
another big use case was sharing web content between devices that don't have an active Internet connection. one of the stated goals of Web Packaging is to make offline sharing possible โจ
a few participants said that where Internet access is pricey, slow, or spotty, direct peer-to-peer file exchange is super common (think "saving a website and sharing it on a USB stick"). most browsers already have some tools for this, but people agree they need upgrades ๐ซถ
during the discussion, several people pushed back on an assumed requirement for this use case, which was that a page loaded from an offline Web Package should be treated exactly the same as a "normal" web page ๐ โโ๏ธ
some participants liked that a Web Package can clearly attribute its content, for a bunch of different reasons. but there were reservations about the subtleties of what signatures actually provide, and how that affects web security. see also Sections 4.2 and 2.3.2 ๐
lots of people pointed out that "unsigned bundles" (Web Packages without signed exchanges) could be good enough for this, since most users don't need cryptographic proof of who a site is. but some were worried this could make falsehoods spread more easily ๐ฌ
some folks suggested the real value of signed exchanges isn't in small, person-to-person sharing. it's in building content delivery systems that could include things like discovery and automated distribution. the point was that using digital signatures well for offline distribution needs way more infrastructure than the current proposals describe ๐ง
the workshop didn't reach any firm conclusions about offline sharing ๐ธ
2.3. Other Use Cases ๐ฆ
the second morning had a session focused on two more potential use cases for Web Packages: book publishing and Web archiving. the proponents of Web Packaging didn't consider these "primary", and the plan wasn't to spend much time on them. still, attendees were pretty interested ๐
2.3.1. Book Publishing ๐
okay so the room talked about whether a packaging format could work for books ๐ฆ and the book people were like, "bestie, book delivery is NOT like regular web content delivery" ๐ They had a point.
The workshop folks also looked at what already exists. PDF was seen as especially rough for this use case because of its limitations ๐ญ, and EPUB has constraints that make life hard for publishers too.
Web Packaging might help with books, ngl ๐ธ but the big question of how to identify book content never got settled. Signed exchanges could maybe tie book content back to a website ๐, but several limitations came up with that too.
Here's the thing: books don't need to be as fresh as web pages. Dave Cramer's submission [CRAMER] pointed out that Moby Dick was published over 61,000 days ago ๐๐, which is way longer than the proposed 7-day limit for signed exchanges. The limited time a Web Package can be considered valid got talked about a lot ๐ฐ๏ธ
There's also the risk that a publisher goes out of business while a book is still being read. Successful books often stick around for generations ๐ง So being able to attribute content to a publisher was seen as less practical and maybe even undesirable (kinda like the "unsigned bundles" discussion above ๐).
Other book stuff felt tricky for packaging too. For example, it's currently not understood what it means to refer to distinct parts of a book ๐ค People thought stable references for bundles of content might be interesting here, but nothing concrete came out of that chat.
The idea of active content in a bundle using web APIs to enrich content or unlock new features was seen as super valuable โจ Paywalls got discussed at length too (see Section 5.4) ๐ธ
2.3.2. Web Archiving ๐๏ธ
Web archiving is a whole complicated discipline, and it's made harder by how complicated the Web itself is ๐ตโ๐ซ
From an archival point of view, the idea of web content being provided in a self-contained form was seen as a W ๐ Several improvements to the structure of Web Packaging were suggested, like providing complete sets of content and using Memento [MEMENTO] ๐
Packaging could have real uses here, but a lot of challenges need extra work from content producers before it'd be fully effective ๐ ๏ธ For example, JavaScript is needed to render some archived content faithfully, but attributing that content to an origin in every scenario is hard ๐
If packaging got widely deployed, it might make archival replay better ๐ The speculation is that there'd be less "live leakage", since packaged content would be less likely to point at live resources that tend to "leak" into archive views ๐ซ People also noted that subresources might be more likely to get packaged, especially the ones needed for deferred representations (i.e., stuff that appears after JavaScript runs on the page or after some user interaction) ๐งฉ Other potential applications and enhancements are covered in [ALAM] ๐
Participants talked about using a signature for non-repudiation for quite a while ๐ In one case tied to the Internet Archive, a public figure disputed the accuracy of archived content, claiming the original content had been modified either at the source or in the archive ๐ณ
Some participants first saw digital signatures as a way to deal with these provenance issues โ๏ธ Similar problems show up in other areas too, like book publication, medical research, and news, so a solution here was thought to have broad applicability ๐
The discussion ultimately concluded, though, that providing non-repudiation in retrospect is challenging ๐ฌ Signing keys aren't expected to stay secure for long periods. If keys leak later, an attacker could retroactively generate fraudulent signatures ๐จ Alternatives were discussed, like keeping independent archives of the same data, using consensus protocols, or using an append-only construct like a Haber-Stornetta log [AOLOG]. All of these can make it harder to alter or misrepresent established archives ๐
3. Interactions between Web Publishers and Aggregators ๐ค
A big reason for holding the workshop was to give publishers a space to talk about how Web Packaging would affect the online publishing ecosystem ๐ฃ The main question was whether Web Packages might effectively shift power from publishers to aggregators ๐
Both publishers and aggregators at the workshop said they really wanted to keep a positive relationship ๐ซถ Publishers especially need to be able to trust that aggregators won't misrepresent their work or de-emphasize it for reasons unrelated to quality and the value perceived by the user ๐
One key question from [BERJON] got discussed:
Web Packaging has other uses, but it is primarily seen by a large proportion of its stakeholders as a solution to problems that AMP created. Before we agree to solve those issues, should we not ask if AMP was a useful approach in the first place -- and useful to whom?
The chat then focused on the current incentive model that aggregators offer ๐ฐ The costs publishers take on to participate in that system were considered too. A lot of time went to AMP, and you can find a summary of that discussion in Section 5 ๐
We also wondered whether standardizing Web Packaging gives credibility to aggregators who want to exercise unwelcome control over publisher content ๐ค Or could the technical safeguards Web Packaging provides let aggregators relax their restrictions on the kinds of content they're willing to cache and serve? No conclusions were drawn, bestie ๐คทโโ๏ธ
3.1. Incentives for Web Packages ๐
Submissions to the workshop showed that inducements involving better placement and formatting of links to publisher content had a significant effect on how much the related technology got picked up ๐ For example, in [DEPUYDT-NELSON]:
[...] The Washington Post has always placed a great deal of trust in Google to represent its content--and their reward for doing so is more traffic, which positively impacts the business.
During the workshop, several online publishers said that if it weren't for the privileged spot in the Google Search carousel given to AMP content, they wouldn't publish in that format ๐
Publishers who do produce AMP said they see a non-trivial increase in traffic from deploying AMP content โจ For example, Yahoo Japan reported a 60% increase in traffic from deploying AMP on Yahoo Travel [OTSU] ๐ No data was presented on whether that increase came from better placement in Google Search results, the inherent benefits of the AMP Cache, or the use of the AMP format itself ๐คทโโ๏ธ
Another large publisher shared anecdotal evidence that they saw a 10% drop in traffic after accidentally disabling AMP content ๐ฑ However, more traffic doesn't always mean proportionally more revenue, as observed in [BREWSTER] ๐ธ
3.2. Operational Costs ๐งพ
Several participants pointed out that introducing a new, parallel format for Web content comes with operational costs ๐ Supporting any new format (Web Packaging, Apple News, or Facebook Instant Articles, for example) takes initial tooling development (some generic, some specific to a site's requirements) and then ongoing investment to keep it working ๐ ๏ธ Some participants were worried about small publishers with limited technical and financial resources, especially in the current publishing climate ๐ฅบ
Extra exposure from a new format might not always justify the added expense of providing articles in it [BREWSTER] ๐ฌ Still, a standardized format might help publishers cut the cost of maintaining multiple formats ๐
3.3. Content Regulation โ๏ธ
Using Web Packaging as a tool for avoiding censorship wasn't a major topic of discussion ๐ โโ๏ธ The one thing that came up was that publishers often have regulatory requirements around removing or correcting content ๐
People brought up the desire to remove videos of a recent shooting [CHRISTCHURCH] and how hard that could be if the content were available as Web Packages ๐ฐ Legal requirements to remove content come from a bunch of angles: copyright violations, illegal content, editorial corrections or errors, and the right to erasure provisions in the European Union General Data Protection Regulation [GDPR] ๐ช๐บ One participant speculated that making material harder to remove this way might discourage regulators from censoring content ๐ค
In this context, participants observed that it would be difficult to create mechanisms to track and control content served as a Web Package without compromising the stated goal of censorship resistance ๐ฅ
3.4. Web Performance ๐
okay so how Web Packaging affects performance was a whole thing ๐ญ people did NOT agree, bestie.
Some informal analysis from the Google Search deployment (later published in [AMP-PERF]) showed big improvements in navigation time metrics, from the combo of prefetch, prerendering, and the AMP format โจ. These results hint that Web Packaging could maybe get some of that boost on its own, but no data split the improvement up between those three parts, so nobody knows which piece did what ๐คทโโ๏ธ
The data was more of a "here's the potential" vibe than a definitive result, and it raised a bunch of questions that need more study ๐. Attendees suggested future measurements look at signed bundles separately from the perks that come with the AMP format. Future research could also check how different strategies work on devices with different capabilities, bandwidth, power consumption requirements, or network conditions ๐ฑ.
Here's the tea ๐ต: fetching and rendering multiple web pages ahead of navigation is extra work. It might end up using fewer connections, but it costs clients more network and CPU ๐ฅต. Some participants pointed out that different clients or apps might need different tuning, like when users have limited (or expensive) bandwidth, or for sites without a clear picture of how their outbound links get used ๐.
Workshop participants also wanted to learn about the effect of Web Packages on subsequent navigations within the target site ๐.
In discussion, some participants felt their experience backed up a theory: running a cache at the linking site was the most effective, and the extra prep work (fetching and preparing content before navigation) gave the biggest gains. Others said the benefits built into the AMP format were the dominant factor ๐ค.
Bottom line: understanding the complete effect of Web Packaging on web performance is going to take more work ๐.
4. Systemic Effects ๐
it is not straightforward to guess how a proposed tech change might affect all the parts of a system ahead of time ๐ตโ๐ซ. That includes other components, but also stuff like end-user rights and the balance of power between parties. To date, when evaluating proposals, the IETF has generally focused on more immediate concerns, like interoperability and security ๐.
Also, people often find new uses for successful standards [SUCCESS] after they're deployed ๐. It's rarely possible to accurately predict every application of a protocol or format, whether harmful or beneficial. Refusing standardization only blocks both outcomes ๐ซ.
With the understanding that predictions are hard, there was a lot of speculation at the workshop about the possible effect of Web Packaging on the Web ๐ฎ. Some of that speculation is informed by experience, but that experience is necessarily limited in scope. This section tries to capture that discussion ๐ฌ.
4.1. Consolidation ๐ข
Concerns about the consolidation of power on the Internet have blown up lately, for several reasons ๐. The IAB, the Internet Society, and others are examining this phenomenon so they can understand it better. Still, it's prudent to consider whether proposed changes to how the Internet works favor or counter consolidation. Favoring entities that already have advantages, like resources, size, or market share, isn't automatically a dealbreaker for a new proposal, but it needs to be counted as a cost of enabling that technology ๐ธ.
Although the outcomes of adopting Web Packaging are unclear, the workshop revealed several consolidation risks for all the parties involved: users, publisher sites, linking sites, and the services each of them relies on ๐ฌ.
4.1.1. Consolidation of Power in Linking Sites ๐
Several participants noted that Web Packaging's enabling of instant navigation (Section 2.1) might advantage larger linking sites, like social networks or search engines, over smaller ones in the same industry. The reason: doing it requires careful choices about which links to optimize, so you don't create unneeded traffic ๐ฏ.
For example, a news article often has many links, but not all of them are equally likely to be followed. Deciding which ones to prefetch takes a lot of data collection and engineering, so this technique might not be feasible for smaller entities ๐ฅฒ. Some participants also noted that this technique favors sites with a linear set of ranked links, like search results. It's harder to apply to a page of news, for example, because predicting which link a user will follow is less obvious ๐ฐ.
This technique also requires access to a cache with terms of use compatible with the site's requirements. It was pointed out that the Google AMP Cache has policies that might be acceptable to many, and there are other caches too. Sites run by entities other than Google already use this cache, though it was observed that a site that doesn't host its own cache suffers a minor performance degradation ๐.
4.1.2. Consolidation of Power in Publishers ๐
Participants seemed to agree that if performance is a strong enough differentiator, using Web Packaging effectively might become a condition for success for online publishers ๐. Google Search's choice to privilege content served over HTTPS was pointed out as proof that this kind of influence can work. Still, it's not necessarily the case that standardizing new capabilities will materially change those policies, as noted in [YASSKIN] ๐คทโโ๏ธ:
It seems unlikely that any decisions we make in a packaging or distribution system will affect the considerations aggregators use when deciding how to rank recommendations or the power this gives them over publishers.
The most common concern in the discussion was the effect of this tech on smaller publishers, who might be less able to optimize the packages they produce. Their primary differentiator in the market has previously been the quality of their content ๐.
4.1.3. Consolidation of User Preferences ๐
In typical operation of the Web, servers get to tailor content to the needs of their users ๐งโ๐คโ๐ง. A static Web Package, by contrast, has few options for individualization, since the content is generated once and used by many ๐ฆ.
As a result, publishers noted that AMP gives them less room to customize content for their customers. Their concerns included not only personalizing content based on what they know about the user, but also optimizing the package for specific browsers ๐. Other participants observed that Web Packaging might also have a consolidating effect in the browser market ๐.
Some participants brought up the possibility of customization through multiple packages, through multiple variants of resources in a single package, or by customizing after the package was loaded. However, other participants pointed out that all of these options have negative side effects, either in complexity or in reduced performance from larger bundles or delayed customization ๐ฉ.
4.2. Effect on Web Security ๐ก๏ธ
One session explored the impact of introducing a new security model for the Web ๐ต๏ธโโ๏ธ. Right now, sites rely on connection-oriented security (provided by TLS [TLS]), but Web Packaging adds a limited form of object security. In other words, the package protects the integrity of a message, rather than providing integrity and confidentiality for its delivery ๐ฌ. Object security isn't a new concept on the Web, either. Designs like SHTTP [SHTTP] are as old as HTTPS ๐ฐ๏ธ. Even though Web Packaging is meant to have much narrower applicability, it provides fewer security guarantees than HTTPS. It only provides authentication, no confidentiality with respect to the cache, and no assurance of liveness ๐จ.
Object-based security, like what's proposed in Web Packaging, allows the use of content no matter how it was obtained. Some participants noted that third parties gain more control over how content is distributed, which reduces publishers' ability to retract or alter content over the validity period of signed content ๐ค.
Another topic was composition attacks ๐งฉ. In its proposed form, Web Packaging only provides authentication of independent resources, not of a web page as a single unit. That lets an attacker control how resources are composed. This weakness was acknowledged as a known shortcoming of the current proposal, one that would be addressed ๐ ๏ธ.
The trade-off between control and performance in caches also came up ๐ข. Participants recognized that problems with resource composition already happen by accident, for example when a cache stores different versions of resources. But Web Packaging lets an attacker have more direct control over which resources are available to clients ๐ฑ.
For example, an attacker might be able to cause content with a security flaw to be used up to a week after the defect was fixed ๐ ๐.
As an example of how Web Packaging might change the risk profile for sites, participants discussed recovering from cross-site scripting attacks ๐ฉน. It's already the case that a brief exposure to this class of attack can give an attacker persistent access. But mechanisms exist to avoid or correct the problem, like cache validation and Clear Site Data [CLEAR-DATA]. These measures aren't available to clients unless they connect to the site ๐.
The discussion pointed out that these concerns aren't new, and Web Packaging didn't uniquely enable them. However, it was also pointed out that new features are routinely held to higher security and privacy expectations ๐ง. In an example unrelated to Web Packaging but with similar trade-offs, shared compression of multiple resources has significant performance benefits. The risk with shared compression is the potential for exposing encrypted information through side channels. Sites can use shared compression without that exposure, but shared compression will likely only be enabled once it's clear that measures to prevent accidental information exposure are effective across a broad set of deployments ๐.
The discussion also addressed whether these concerns might equally apply to the typical use of a CDN as a third-party provider of content ๐. Some participants concluded that CDNs are typically in a contractual relationship with the sites they serve, so they're more likely to have their interests aligned ๐ซถ.
4.3. Privacy of Content ๐
Okay so, people in the discussions and submissions were worried that serving content with Web Packages could hurt individuals' privacy. Fair concern, and there are real challenges here ๐ฅบ But Web Packaging only really applies to what's basically static content, and that keeps the privacy risk pretty small ๐ธ The verdict was that, as long as implementers take sufficient care, using Web Packages doesn't substantially increase what an aggregator learns about which content people consume ๐
Here's the vibe. An aggregator knows what content it serves in anticipation of navigation. At least in theory, that's basically the same content the aggregator might receive if it did the navigation itself โจ So if that content is stripped of personalization, the aggregator gets no new information ๐ฆ No plot twist, no extra tea โ
5. AMP Issues Unrelated to Web Packaging ๐
A lot of the workshop talk kept circling back to problems caused by the limits of the AMP format or how it gets included in Google Search ๐ For example, the requirement to make pages expose their metadata probably won't be affected by any standardization of a packaging format, because that requirement has nothing to do with how content gets delivered ๐ฆ
So this section gives some detail on the bits of the discussion that touched on AMP more generally like that. It's still relevant, because some of the workshop talk, even while it was supposed to be about Web Packaging, focused on how AMP was affecting the ecosystem ๐
Note: Of the four formats mentioned in the workshop call for papers [CFP], only AMP sent representatives to the workshop. The discussion was therefore concentrated around AMP; this section should not be read to imply anything about other formats.
People talked about a commitment [AMP-LESSONS] to let publishers who meet specific criteria get privileged positions in search results, whether or not they adopt AMP ๐ Participants felt this approach might address some of these concerns, if it were adopted and durable ๐ค For instance, Web Packaging might be enough to remove some constraints on active content, since the active content would be attributed to the publisher and not the AMP Cache. Iconic logic, honestly ๐
5.1. AMP Governance ๐๏ธ
Workshop participants were curious about the governance model used for AMP. The big question was how independent the AMP project would be from Google and Google Search ๐ค
Three of the seven members of the AMP Technical Steering Committee, the body that governs AMP, are Google employees. That gives Google considerable influence over the project ๐ It was asserted that the governance structure was intended to become more independent of Google over time ๐ฑ The understanding was that any consumer of the format, such as Google Search, would make its own independent assessment about whether to use or require different aspects of the AMP project products ๐ญ
5.2. Constraints on the AMP Format ๐งฉ
Sites often implement AMP by creating a separate set of content in parallel to their regular HTML content. Publishers called this a high cost, especially for smaller sites ๐ญ It was pointed out that websites can serve AMP-compliant content exclusively. However, several publishers pointed to limitations in the format that made it unsuitable for their needs ๐ โโ๏ธ
Lots of the reasons cited for this duplication came down to the need to run arbitrary active content, which is typically JavaScript. For example:
- AMP provides a framework for supporting user authentication, but publishers said using this framework wasn't considered practical.
- AMP content doesn't support rendering of certain content, which can affect publishers' ability to innovate content production.
- The AMP model for the implementation of paywalls (Section 5.4) was claimed to be inimical to some publisher business models.
More broadly, publishers saw AMP's constraints on active content as a problem, since they block capabilities that are available on equivalent non-AMP pages ๐ง Someone brought up a proposed <amp-script> element, which has since been made fully available, that aims to provide limited access to some dynamic content โจ
5.3. Performance ๐
Publishers observed that using the AMP format doesn't guarantee any performance gains, and in some cases it could actually contribute to performance degradation ๐ It was suggested that this was most problematic for sites that are already well-tuned for performance ๐ค
5.4. Implementation of Paywalls ๐ธ
Web publishers are using paywalls more and more to control access to content in return for payment. One popular approach is to offer a limited number of articles for free while requiring a paid subscription to read more ๐ฐ
Several times, participants expressed frustration with how hard it is to fit paywall authorization into AMP ๐ฉ Specifically, they said AMP encourages publishers to include an article's full content, hidden by default but easily accessible to motivated users. That's a whole mess ๐ The discussion also extended to workarounds like cookie syncing [COOKIE-SYNC], which is used as part of authorization and is a consequence of having cached content hosted on the linking site rather than the target site ๐ช
The same topic came up for book publication, where publishers said they needed a way to enable different distribution methods without also making it easy to copy book content without constraints ๐
This mix-up between AMP issues and the ones Web Packaging is meant to address kept coming up in the discussion ๐ As observed in [DAS], these concerns might be addressed by linking to a signed bundle ๐
6. Venues for Future Discussion ๐ฃ๏ธ
Web Packaging work is happening in multiple forums ๐ Questions about the core format and signatures are being discussed on the wpack@ietf.org mailing list (https://www.ietf.org/mailman/listinfo/wpack). Changes to web browsers as proposed in [LOADING] will be discussed on the Fetch specification repository (https://github.com/whatwg/fetch/issues/784) ๐
7. Security Considerations ๐ก๏ธ
Proposals discussed at the workshop might have a significant security impact, and these topics were discussed in some depth ๐ณ Please, please, go read Section 4.2 ๐ซถ
8. Informative References โจ
okay bestie, this is the reference shelf ๐ every paper, spec, and talk the RFC leans on lives here, so you can go find the receipts yourself ๐ต๏ธโโ๏ธ I kept every citation tag, author, date, DOI, and link exactly as written, and I joined the URLs that got split across lines so you can copy-paste them ๐
[ALAM]Alam, S., Weigle, M., Nelson, M., Klein, M., and H. Van de Sompel, "Supporting Web Archiving via Web Packaging", 6 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/sawood-alam-2.pdf. ๐๏ธ[AMP-LESSONS]Ubl, M., "Standardizing lessons learned from AMP", 8 March 2018,https://blog.amp.dev/2018/03/08/standardizing-lessons-learned-from-amp/. ๐[AMP-PERF]Steinlauf, E., "The Speed Benefit of AMP Prerendering", 14 August 2019,https://developers.googleblog.com/2019/08/the-speed-benefit-of-amp-prerendering.html. โก[AOLOG]Haber, S. and W. Stornetta, "How to time-stamp a digital document", Journal of Cryptology, Vol. 3, Issue 2, pp. 99-111, DOI 10.1007/bf00196791, 1991,https://doi.org/10.1007/bf00196791. ๐ฐ๏ธ[BERJON]Berjon, R., "ESCAPE: The New York Times Position", 9 July 2019,https://www.iab.org/wp-content/IAB-uploads/2019/07/NYT-ESCAPE.pdf. ๐ฐ[BREWSTER]Brewster, A., "ESCAPE Position / Patch.com", 6 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/patch.pdf. ๐๏ธ[BUNDLE]Yasskin, J., "Bundled HTTP Exchanges", Work in Progress, Internet-Draft, draft-yasskin-wpack-bundled-exchanges-02, 26 September 2019,https://tools.ietf.org/html/draft-yasskin-wpack-bundled-exchanges-02. ๐ฆ[CFP]Internet Architecture Board, "Exploring Synergy between Content Aggregation and the Publisher Ecosystem Workshop 2019", 3 May 2019,https://www.iab.org/activities/workshops/escape-workshop/. ๐ฃ[CHATHAM-HOUSE]Chatham House, "Chatham House Rule",https://www.chathamhouse.org/chatham-house-rule. ๐คซ[CHRISTCHURCH]Stevenson, R. and J. Anthony, "'Thousands' of Christchurch shootings videos removed from YouTube, Google says", 16 March 2019,https://www.stuff.co.nz/business/111330323/facebook-working-around-the-clock-to-block-christchurch-shootings-video. ๐บ[CLEAR-DATA]West, M., "Clear Site Data", W3C Working Draft, 30 November 2017,https://www.w3.org/TR/clear-site-data/. ๐งน[COOKIE-SYNC]Acar, G., Eubank, C., Englehardt, S., Juarez, M., Narayanan, A., and C. Diaz, "The Web Never Forgets", CSS '14: Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security, pp. 674-689, DOI 10.1145/2660267.2660347, 2014,https://doi.org/10.1145/2660267.2660347. ๐ช[CRAMER]Cramer, D., "Packaging Books", 2 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/cramer-position-paper.pdf. ๐[DAS]Das, S., "The Implication of Signed Exchanges on E-Commerce", 7 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/IAB-Position-Paper_-Signed-Exchanges.pdf. ๐[DEPUYDT-NELSON]DePuydt, M. and M. Nelson, "Signed Exchanges and The Importance of Trust in Aggregator/Publisher relationships", 4 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/washpost.pdf. ๐ค[GDPR]European Union, "General Data Protection Regulation", EU Regulation 2016/679, 27 April 2016,https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32016R0679&from=EN#d1e2606-1-1. ๐ช๐บ[HTTP]Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing", RFC 7230, DOI 10.17487/RFC7230, June 2014,https://www.rfc-editor.org/info/rfc7230. ๐[LOADING]Yasskin, J., "Loading Signed Exchanges", 4 September 2019,https://wicg.github.io/webpackage/loading.html. ๐[MEMENTO]Van de Sompel, H., Nelson, M., and R. Sanderson, "HTTP Framework for Time-Based Access to Resource States -- Memento", RFC 7089, DOI 10.17487/RFC7089, December 2013,https://www.rfc-editor.org/info/rfc7089. โณ[ORIGIN]Barth, A., "The Web Origin Concept", RFC 6454, DOI 10.17487/RFC6454, December 2011,https://www.rfc-editor.org/info/rfc6454. ๐[OTSU]Ohtsu, S., "Deployment Experience of Signed HTTP Exchanges with AMP as a Publisher", 4 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/shigeki-ohtsu.pdf. ๐[SHTTP]Rescorla, E. and A. Schiffman, "The Secure HyperText Transfer Protocol", RFC 2660, DOI 10.17487/RFC2660, August 1999,https://www.rfc-editor.org/info/rfc2660. ๐[SUCCESS]Thaler, D. and B. Aboba, "What Makes for a Successful Protocol?", RFC 5218, DOI 10.17487/RFC5218, July 2008,https://www.rfc-editor.org/info/rfc5218. ๐[SXG]Yasskin, J., "Signed HTTP Exchanges", Work in Progress, Internet-Draft, draft-yasskin-http-origin-signed-responses-08, 4 November 2019,https://tools.ietf.org/html/draft-yasskin-http-origin-signed-responses-08. โ๏ธ[TAG-DC]Betts, A., Ed., "Distributed and syndicated content", W3C TAG Finding, 27 July 2017,https://www.w3.org/2001/tag/doc/distributed-content/. ๐งฉ[TLS]Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018,https://www.rfc-editor.org/info/rfc8446. ๐[YASSKIN]Yasskin, J., "Chrome's position on the ESCAPE workshop", 6 June 2019,https://www.iab.org/wp-content/IAB-uploads/2019/06/chrome.html. ๐
Appendix A. About the Workshop ๐
The ESCAPE Workshop was held on 2019-07-18 and the morning of 2019-07-19 at Cisco's facility in Herndon, Virginia, USA. ๐ข
Workshop attendees were asked to submit position papers. These papers are published on the IAB website [CFP]. ๐
The workshop was conducted under the Chatham House Rule [CHATHAM-HOUSE], meaning that statements cannot be attributed to individuals or organizations without explicit authorization. ๐ค
A.1. Agenda ๐๏ธ
This section outlines the broad areas of discussion on each day. โจ
A.1.1. Thursday 2019-07-18 ๐ธ
- Web Packaging Overview: A technical summary of Web Packaging was provided, plus a longer discussion of a range of use cases. ๐ฆ
- Web Packaging and Aggregators: The use of Web Packaging from the perspective of a content aggregator was given. ๐งบ
- Web Packaging and Publishers: After a break, presentations from web publishers talked about the benefits and costs of Web Packaging. This included some discussion of the effect of developing AMP-conformant versions of content from a publisher perspective. ๐ฐ
- Web Packaging and Security: This session concentrated on how the Web Packaging proposal might affect the web security model. ๐ก๏ธ
- Alternatives to Web Packaging: This session looked at alternative technologies, including those that were attempted in the past and some more recent ideas for addressing the use case of making web navigations more performant. ๐
A.1.2. Friday 2019-07-19 ๐ฆ
- Web Archival: This session talked about the potential application of a technology like Web Packaging in addressing some of the myriad problems faced by web archival systems. ๐๏ธ
- Book Publishing: The effect of technologies for bundling and distribution of books was discussed. ๐
- Conclusions: A wrap-up session attempted to capture key takeaways from the workshop. ๐
A.2. Workshop Attendees ๐ฏโโ๏ธ
Attendees of the workshop are listed with their primary affiliation as it appeared in submissions. Attendees from the program committee (PC), the Internet Architecture Board (IAB), and the Internet Engineering Steering Group (IESG) are also marked. ๐
- Sawood Alam, Old Dominion University
- Jari Arkko, Ericsson (IAB)
- Richard Barnes, Cisco
- Robin Berjon, New York Times (PC)
- Zack Bloom, Cloudflare
- Abraham Brewster, Patch.com
- Alissa Cooper, Cisco (IESG, IAB)
- Dave Cramer, Hachette Book Group
- Melissa DePuydt, Washington Post
- Levi Durfee, AMP Advisory Committee
- Rudy Galfi, Google
- Joseph Lorenzo Hall, Center for Democracy & Technology (PC)
- Matthew Nelson, Washington Post
- Michael Nelson, Old Dominion University
- Mark Nottingham, Fastly (IAB, PC)
- Shigeki Ohtsu, Yahoo
- Eric Rescorla, Mozilla
- Adam Roach, Mozilla (IESG)
- Rich Salz, Akamai Technologies
- Wendy Seltzer, W3C
- David Strauss, Pantheon (PC)
- Chi-Jiun Su, Hughes
- Ralph Swick, W3C
- Martin Thomson, Mozilla (IAB, PC)
- Jeffrey Yasskin, Google
- Dan York, Internet Society
- Benjamin Young, John Wiley & Sons
Appendix B. Web Packaging Overview ๐ฆโจ
Web Packaging is comprised of two separate technologies: resource bundling [BUNDLE] and signed exchanges [SXG]. ๐
In both the submissions and workshop discussion, the most controversial aspect of the technology is the use of signed exchanges as an alternative means of providing authority over a particular resource, for a few different reasons. ๐ Honestly the drama is real ๐ฟ
This appendix explains how authority works on the Web and how Web Packaging proposes to change that. ๐ง
B.1. Authority in HTTPS ๐
The Web currently uses HTTPS [HTTP] to establish a server's authority -- that is, to give an assurance that the content came from where the URL implies. The combination of URI scheme (https), domain name (or host), and port number are formed into a single identifier, the origin [ORIGIN] to which content is attributed. ๐ท๏ธ
Web browsers use the certificate offered as part of a TLS connection [TLS] to servers in determining whether a server is authoritative for that origin; see [ORIGIN] and Section 9.1 of [HTTP]. Content is attributed to a given URL only if it is received from a connection to a server that is authoritative for the associated origin. ๐ชช
As an example, a web browser seeking to load https://example.com/index.html makes a TLS connection to a server. As part of the TLS connection establishment, the server offers a certificate for the name example.com. If the browser accepts the certificate, it will then make requests for URLs on the https://example.com origin on that connection and consider any answers from the server to be authoritative. ๐
This notion of authority is a crucial property of web security: only content that is attributed to the same web origin can access all information in that origin, including the content of most resources as well as state associated with the origin, such as cookies. This separation ensures that sites can keep secrets from each other, even when they are both loaded in the same browser. ๐ซถ That's the whole vibe of web security, no cap ๐
B.2. Authority in Web Packaging ๐ฆ
okay so bestie, this part is literally about authority, which is basically "who gets to say this content is legit?" ๐ Web Packaging has a whole new move for that. Instead of trusting the delivery method, it's like, what if we trust the signature on the object itself? ๐ฅ
Here's the tea: a signed exchange is basically an HTTP request and response (an exchange) that's had some info stripped out and a digital signature slapped on it. ๐
The signature uses a certificate that's super similar to the one a server would show in HTTPS. Like, that same certificate can be used for HTTPS too ๐ but it has a special attribute that says "hey, I'm good for signed exchanges" โจ
So when a web browser gets a signed exchange, it can verify the signature. If the signature checks out and the certificate is acceptable, the browser can use the content from the signed exchange. ๐ซถ And here's the big deal, bestie: the browser does NOT make an HTTPS connection to a server to get the content or to verify the signature. ๐ญ No server trip needed!
Basically, Web Packaging is switching from "authority comes from how you got it (TLS)" to an object security model, where authority comes from a signature on the objects themselves. ๐ The goal is to make the delivery method irrelevant when deciding what's secure. Iconic, honestly. ๐
B.3. Applicability ๐ธ
Okay so Web Packaging doesn't claim to totally replace the Web's authority model ๐ It's more like an alternative that might be used under certain narrow conditions. ๐
Specifically, it's meant for content that is not secret from anyone who knows that the content exists. ๐ง
To keep it that way, Web Packaging doesn't include info from exchanges that's about how the content was acquired, and it doesn't include anything tied to individual requests. ๐
Example: the Set-Cookie header field is expressly forbidden ๐ซ because it often holds info about a particular user. Not it, bestie.
B.4. The AMP Format, Google Search Results, and Web Packaging โญ
This one's kinda complicated, not gonna lie ๐ The AMP Project <https://amp.dev/>, sponsored by Google, sets up a profile of HTML focused on best practices and performance. โก It tightly limits HTML features, but it also has a library of components with sanitized versions of common stuff. ๐
The connection to Web Packaging is all about how Google Search treats AMP content specially. โจ Two properties Google Search exploits: metadata exposure and static analysis of active content. ๐ฅ
First, AMP provides metadata in a form that can be reliably extracted, using microformats from the Schema.org project <https://schema.org/>. ๐ This doesn't really matter for the discussion, except for how Google Search uses this metadata to fill up the carousel. ๐
Second, constrained active content (like JavaScript) in AMP makes it possible to analyze content and verify that actions are narrowly limited. ๐ฆ That static analysis means AMP content can be served without messing with other content on the same site. For Google Search, this is what lets AMP content load alongside search content and other AMP resources. ๐
To provide preloading, Google runs the Google AMP Cache <https://developers.google.com/amp/cache/>, which is where AMP content gets served from. ๐ The result? Browsers attribute the content to the origin [ORIGIN] of the AMP Cache, not the publisher. ๐ญ That creates some confusion about attribution, as discussed in the W3C finding on distributed content [TAG-DC]. ๐
An important goal of Web Packaging is to attribute content loaded from a cache, like the Google AMP Cache, to the publisher that actually created it. ๐ For more on this, see Section 2.1. ๐ซถ
IAB Members at the Time of Approval ๐ง
Internet Architecture Board members at the time this document was approved for publication were: ๐
Jari Arkko
Alissa Cooper
Stephen Farrell
Wes Hardaker
Ted Hardie
Christian Huitema
Zhenbin Li
Erik Nordmark
Mark Nottingham
Melinda Shore
Jeff Tantsura
Martin Thomson
Brian Trammell
Authors' Addresses ๐
Martin Thomson
Email: mt@lowentropy.net
Mark Nottingham
Email: mnot@mnot.net
๐ฆ where this page comes from
- ietf: rfc8752 2020-03
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms