- From: Patrick Meenan <notifications@github.com>
- Date: Wed, 12 Jun 2024 15:42:36 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3ctag/design-reviews/issues/969@github.com>
Not so much a dispute as a decision that we did not think was appropriate to make at the HTTP-level for IETF but that may be worth discussing for the web use case... ## I'm requesting the TAG express an opinion on a dispute related to: - Name: Compression Dictionary Transport - Specification URL: https://datatracker.ietf.org/doc/draft-ietf-httpbis-compression-dictionary/ - Explainer (containing user needs and example code)ยน: https://github.com/WICG/compression-dictionary-transport/blob/main/README.md - GitHub issues: https://github.com/httpwg/http-extensions/issues/2756 - Primary contacts (and their relationship to the specification): @pmeenan, @yoavweiss (authors) - The group where the work on this specification is: IETF HTTP Working Group - Links to major pieces of multi-stakeholder review or discussion of this specification: https://github.com/httpwg/http-extensions/issues?q=label%3Acompression-dictionary+is%3Aclosed - Links to major unresolved issues or opposition with this specification: https://github.com/httpwg/http-extensions/issues/2756 - Relevant time constraints or deadlines: Would be most useful to decide before Chrome ships the feature to stable (likely August-September 2024) We recommend the explainer to be in Markdown. ## Explanation of the issue that we'd like the TAG's opinion on: "Compression dictionary transport" allows for you to use a previous version of a resource or a separate dedicated resource as a compression dictionary for future requests at the HTTP layer (using content-encoding). It effectively allows for delta-compressing updates or extracting common parts of a page to a dictionary that becomes a "template" transparently. Usually resulting in a reduction of bytes transferred by 90+%. As part of the IETF draft, we have defined content-encodings that are roughly equivalent to the existing `br` and `zstd` with specific window sizes that work well for web content up to ~50-100MB. The spec allows for future encodings that can be defined for new use cases as they come up while still leveraging the same encoding negotiation (huge files, content-aware diff algorithms, etc). There is an open question if there would be more benefit to the web if we specified only one encoding, allowing clients to get the full benefit without having to include both Brotli and Zstandard decode engines. We agreed that it wasn't appropriate to limit the options as far as HTTP itself was concerned but that it would be worth considering for the web use case specifically. There are slight differences to the capabilities of the currently-spec'd encodings: * `dcb` (brotli) compresses smaller at the maximum settings compared to `dcz` (Zstandard) * `dcb` is limited to ~50 MB resources for delta-updates while `dcz` can go up to ~100 MB (a limit we exercised in the Chrome origin trial with some large WASM applications) ## Links to the positions of each side in the dispute (e.g., specific github comments): ### Pick one encoding: * https://github.com/httpwg/http-extensions/issues/2756#issue-2180874957 * https://lists.w3.org/Archives/Public/ietf-http-wg/2024AprJun/0041.html ### Allow for multiple: * https://github.com/httpwg/http-extensions/issues/2756#issuecomment-2038569282 * https://github.com/httpwg/http-extensions/issues/2756#issuecomment-2084149148 * https://github.com/httpwg/http-extensions/issues/2756#issuecomment-2089002951 * https://lists.w3.org/Archives/Public/ietf-http-wg/2024AprJun/0045.html ### What steps have already been taken to come to an agreement: We have discussed at length in the issue and on the mailing list and largely decided that it wasn't appropriate to limit the options at the HTTP level but that it might make sense to discuss if it would be appropriate to consider for the web use case specifically. -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/969 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/969@github.com>
Received on Wednesday, 12 June 2024 22:42:40 UTC