Re: bohe and delta experimentation...

James M Snell <jasnell@gmail.com> Thu, 17 January 2013 00:02 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B9B0721F86FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jan 2013 16:02:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.849
X-Spam-Level:
X-Spam-Status: No, score=-8.849 tagged_above=-999 required=5 tests=[AWL=1.749, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZQDBIBnYNvjv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jan 2013 16:02:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0801721F86AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 16 Jan 2013 16:02:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Tvcvx-0001xk-Hx for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Jan 2013 00:02:17 +0000
Resent-Date: Thu, 17 Jan 2013 00:02:17 +0000
Resent-Message-Id: <E1Tvcvx-0001xk-Hx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Tvcvu-0001wz-A7 for ietf-http-wg@listhub.w3.org; Thu, 17 Jan 2013 00:02:14 +0000
Received: from mail-ie0-f181.google.com ([209.85.223.181]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Tvcvt-000454-No for ietf-http-wg@w3.org; Thu, 17 Jan 2013 00:02:14 +0000
Received: by mail-ie0-f181.google.com with SMTP id 16so3773031iea.12 for <ietf-http-wg@w3.org>; Wed, 16 Jan 2013 16:01:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Sr8dxwXH//jw4Gi/vWEVWrvwf67Q5Rkg4RfM9mIMNjU=; b=oji8WnKDlNlecL+9Hcgxo5sshRcDNvtGvuVyGeWd0amOUC+WHoouEWSSNk8i7owMDz O2HodfvOnZz+xtohkTEMKNpQcGL9CDAdevfRbWkJnao2rMWHpdZ2QEQh8ILL9HOtwVaa f5kQvOdHzhSsZRfCNsnPt8C6y5IVhdbput3vUWh/5PLpx0vWtq+1WAaTTxLlOW+afIok xY7bdBV8Lovn9rjyPTshsvFP4Wg8EZzdcrq7l8BumX3LAJGgOc0rK2lkhjeWr+VzO4Is YXMsOgEsb+WeFbjC3BYek3IFcViD/Bg+hdgF4M7DipqNd4LJ6YtRIM5GvUldskc1l2vH l6yw==
X-Received: by 10.50.196.227 with SMTP id ip3mr2164686igc.97.1358380907613; Wed, 16 Jan 2013 16:01:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.26.137 with HTTP; Wed, 16 Jan 2013 16:01:27 -0800 (PST)
In-Reply-To: <CAK3OfOhewuVdjxu7UUp49g8B33YZNJ_N-PkASkHLP213+8gquA@mail.gmail.com>
References: <CABP7RbeNFm3ZHdtDBUJb3idJjFj0q+fxDPzxKZBhSJqXw8zWaQ@mail.gmail.com> <2FD0BBE1-59C6-4E49-ACCE-60C1A895FB7D@mnot.net> <CABP7RbdXh1mb_P-HQucksiHc1So0ggVxH5v8y7vk13g+CcWe-Q@mail.gmail.com> <DD2EFC9F-5201-4829-9E6F-BD9CF0307BB0@mnot.net> <CAK3OfOj1O82WqO0L0rNpq2qeKJoT9E0ZQrV6Y=ULETtACpYMag@mail.gmail.com> <CAK3OfOgOGFNbve_QrTrCesqrrAQRH5qWgvebBxAhoMD7_MjhjQ@mail.gmail.com> <0A36AEB6-09B9-462F-B2E8-90B67FE69980@mnot.net> <CAK3OfOhewuVdjxu7UUp49g8B33YZNJ_N-PkASkHLP213+8gquA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 16 Jan 2013 16:01:27 -0800
Message-ID: <CABP7Rbdr6foybb=cbKcQBUMGdsu8qtkzJrGXzNY0Mf2mUkdyng@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="14dae934117b77cdad04d370b31a"
Received-SPF: pass client-ip=209.85.223.181; envelope-from=jasnell@gmail.com; helo=mail-ie0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.680, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Tvcvt-000454-No 48c258a27e6c576ad64b6110454981a8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: bohe and delta experimentation...
Archived-At: <http://www.w3.org/mid/CABP7Rbdr6foybb=cbKcQBUMGdsu8qtkzJrGXzNY0Mf2mUkdyng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15928
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>

I'd still like to retain the option of sub-second precision but this works
for me. Losing precision when translating to http/1 is acceptable.


On Wed, Jan 16, 2013 at 3:45 PM, Nico Williams <nico@cryptonector.com>wrote:

> On Wed, Jan 16, 2013 at 5:39 PM, Mark Nottingham <mnot@mnot.net> wrote:
> > On 17/01/2013, at 10:35 AM, Nico Williams <nico@cryptonector.com> wrote:
> > Yep, but you either need to make the epoch start at least a few years
> ago (old Last-Modified times, is important for heuristic freshness), OR
> keep it signed (losing a bit).
> >
> > And I think you need more than 12 bits for seconds in a day...
>
> Oops, for some reason I thought of seconds in an hour.  So 5 more
> bits, and we're about even with seconds since epoch.  Either way
> getting from 24 bytes to 4 is pretty good, and no compression scheme
> will do better.
>