Re: Static Table Entries

"Kulkarni, Saurabh" <sakulkar@akamai.com> Thu, 07 August 2014 21:30 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E88491A0145 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Aug 2014 14:30:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.903
X-Spam-Level:
X-Spam-Status: No, score=-6.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lt9h9U5kziSu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Aug 2014 14:30:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A7661A01AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 7 Aug 2014 14:30:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XFVDw-0006uR-Ha for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Aug 2014 21:27:48 +0000
Resent-Date: Thu, 07 Aug 2014 21:27:48 +0000
Resent-Message-Id: <E1XFVDw-0006uR-Ha@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <sakulkar@akamai.com>) id 1XFVDf-0006qm-2N for ietf-http-wg@listhub.w3.org; Thu, 07 Aug 2014 21:27:31 +0000
Received: from prod-mail-xrelay08.akamai.com ([96.6.114.112]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <sakulkar@akamai.com>) id 1XFVDe-0004TA-4o for ietf-http-wg@w3.org; Thu, 07 Aug 2014 21:27:31 +0000
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id AE8CD484E0; Thu, 7 Aug 2014 21:27:03 +0000 (GMT)
Received: from prod-mail-relay08.akamai.com (prod-mail-relay08.akamai.com [172.27.22.71]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id A28FF48391; Thu, 7 Aug 2014 21:27:03 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub5.dfw01.corp.akamai.com [172.27.25.71]) by prod-mail-relay08.akamai.com (Postfix) with ESMTP id 9F84698058; Thu, 7 Aug 2014 21:27:03 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.85]) by ustx2ex-cashub5.dfw01.corp.akamai.com ([172.27.25.71]) with mapi; Thu, 7 Aug 2014 16:27:03 -0500
From: "Kulkarni, Saurabh" <sakulkar@akamai.com>
To: Martin Thomson <martin.thomson@gmail.com>, "Simpson, Robby (GE Energy Management)" <robby.simpson@ge.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 07 Aug 2014 16:27:01 -0500
Thread-Topic: Static Table Entries
Thread-Index: Ac+yhlS4I9X7pkAPTlysmc3CjJN76A==
Message-ID: <D0093C76.9199%sakulkar@akamai.com>
References: <D00955B6.38F98%Robby.Simpson@GE.com> <CABkgnnVi7E3BMfYL1V3sS0Dn5WGJ2MaN1aCsxFoQmNtV4EfNog@mail.gmail.com>
In-Reply-To: <CABkgnnVi7E3BMfYL1V3sS0Dn5WGJ2MaN1aCsxFoQmNtV4EfNog@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.3.140616
acceptlanguage: en-US
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.112; envelope-from=sakulkar@akamai.com; helo=prod-mail-xrelay08.akamai.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.116, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.668
X-W3C-Scan-Sig: lisa.w3.org 1XFVDe-0004TA-4o f73e7265fbf0a24ee1529c907dd38fd1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Static Table Entries
Archived-At: <http://www.w3.org/mid/D0093C76.9199%25sakulkar@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26559
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Martin,

Since now we have switched the static table to the lower indices, we
should try to see if we can populate the entries if possible with their
most-popular values. For e.g. Œcontent-encoding: gzip¹ is better than
Œcontent-encoding: <empty>¹. Having an empty value made sense when we
always added entries to header table before, but now it just seems like we
are missing an opportunity to further get some compression thru populating
all the headers.

- Saurabh

On 8/7/14, 1:26 PM, "Martin Thomson" <martin.thomson@gmail.com> wrote:

>On 7 August 2014 13:11, Simpson, Robby (GE Energy Management)
><robby.simpson@ge.com> wrote:
>> Looking at the current entries, I believe it would be useful to add at
>> least the following:
>> - :method PUT
>> - :method DELETE
>> - :method HEAD
>> - :status 201
>
>The values we have there are based on a frequency analysis provided by
>Akamai.  The methods and status codes that we have account for some
>ridiculously large proportion of requests.  And note that every entry
>makes the header table larger, which increases the number of bytes
>needed to reference the header table.
>
>> And perhaps:
>> - :method
>> - :path (even this would save ~4 bytes IIUC, vs. the first occurrence)
>> - :status
>
>Bare values aren't necessary.  You can reference an entry with a value
>and provide a different value.
>
>> I find it odd that common content types are not in the static table
>
>See above.  There just isn't enough commonality in these header fields
>to justify adding the extra entries.  We just don't have enough good
>data.  And getting good data is only a small part of the problem;
>we're basically done here, so changes like this require overpowering
>justification.
>