Re: Reference set in HPACK
Roberto Peon <grmocg@gmail.com> Thu, 03 July 2014 01:57 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 582651A0AAB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 18:57:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.652
X-Spam-Level:
X-Spam-Status: No, score=-7.652 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, 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 VDjoo2tIWYLg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 18:57:42 -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 E07E31A0A96 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 2 Jul 2014 18:57:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X2WFK-0003Iv-3j for ietf-http-wg-dist@listhub.w3.org; Thu, 03 Jul 2014 01:55:34 +0000
Resent-Date: Thu, 03 Jul 2014 01:55:34 +0000
Resent-Message-Id: <E1X2WFK-0003Iv-3j@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1X2WFB-0003Hc-Up for ietf-http-wg@listhub.w3.org; Thu, 03 Jul 2014 01:55:25 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1X2WFA-0000eP-UF for ietf-http-wg@w3.org; Thu, 03 Jul 2014 01:55:25 +0000
Received: by mail-oa0-f43.google.com with SMTP id o6so13357336oag.16 for <ietf-http-wg@w3.org>; Wed, 02 Jul 2014 18:54:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xUMuC77MdCk8mprYpf6LkUujLZSn5vS1WNVMBa/VUC4=; b=UFRln2FqU6ypUrErRY4zPPYzhM/CnHxQutzxqlM5PNCqEq1m3VYeNVKvbmdm0AcXvs IxIzz9ezMN5C06hu0teSdjdfTjxbOY7pFqmjekBQ4goSYaefB6UWD8/eyB2JPKi5IU/+ cB347GC8LDDxilqgiJSBM7dWVpN/hgrFU7kd+L0oLW+fpbx/lX8BvGelv6Ds+wMO0NuL 7LVRg5DrmqxgKHwODb0/GNdOkOr8EUjyVoeYM9QM0CWgTikgTL9YENeZF2QvZtyCj8Su De8P7wLQE2jWb+8ZpJYjlpH+amoVlaCAoXGABt7Q8n+jhM2h33rjQpLXwe+T6pc2VURj FEFw==
MIME-Version: 1.0
X-Received: by 10.182.134.164 with SMTP id pl4mr1622199obb.16.1404352499133; Wed, 02 Jul 2014 18:54:59 -0700 (PDT)
Received: by 10.76.108.12 with HTTP; Wed, 2 Jul 2014 18:54:59 -0700 (PDT)
In-Reply-To: <20140702193812.3cf329d788bb2bfb7f47e42f@bisonsystems.net>
References: <20140702.143041.283993814131065692.kazu@iij.ad.jp> <CAP+FsNexzVzt+YV7oBeMdGrMoajbMVj1Z90XvQfaCuNMDjYdHg@mail.gmail.com> <20140702.145215.1023037072984695261.kazu@iij.ad.jp> <CAP+FsNc+xW1gKma0McrgXtPpwR0BCubHkvHhUbcHHyn1Sd6t0g@mail.gmail.com> <19403.1404282862@critter.freebsd.dk> <CAP+FsNf=RvMaGLr2Dx+VUVwimb6+bxdEgNyV7aL2xPOiFBJcGg@mail.gmail.com> <19819.1404285745@critter.freebsd.dk> <CAP+FsNc9Te7fzTEeKyqWJEAXg6CW9WEGu9qDAQv6c0UP91O+1w@mail.gmail.com> <20140702185439.18d4b5979afd32a766323ba8@bisonsystems.net> <CAP+FsNcrD0pe=OmrFdk7BebdNjqs28=0LNfqHwxL77NN+UCwCw@mail.gmail.com> <20140702193812.3cf329d788bb2bfb7f47e42f@bisonsystems.net>
Date: Wed, 02 Jul 2014 18:54:59 -0700
Message-ID: <CAP+FsNcQss1BHcusQgON7CD14CpYLCArCiADESudy+Shz4L3-A@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: "Eric J. Bowman" <eric@bisonsystems.net>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Kazu Yamamoto <kazu@iij.ad.jp>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c2a118d9b39104fd404b06"
Received-SPF: pass client-ip=209.85.219.43; envelope-from=grmocg@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.703, 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: maggie.w3.org 1X2WFA-0000eP-UF ef72a8ab925451042cd5196c09b5e809
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Reference set in HPACK
Archived-At: <http://www.w3.org/mid/CAP+FsNcQss1BHcusQgON7CD14CpYLCArCiADESudy+Shz4L3-A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25211
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>
It is fairly common to want to use the same css, js, and often even images on the first pageload and subsequent navigations. When you inline a resource, you cannot cache that inlined resource. That means that you'll need to send it again if it is to be in the cache. This implies wasted bytes, additional latency for that page load, or complexity in doing fancy background loads. With an efficient push mechanism, you don't inline. You send the resources as themselves, achieving the benefit of inlining without the poor caching consequences of using it. -=R On Wed, Jul 2, 2014 at 6:38 PM, Eric J. Bowman <eric@bisonsystems.net> wrote: > Roberto Peon wrote: > > > > You can cache an object that has inlined resources within it, but you > > cannot cache those resources separately. > > You can't cache a resource that doesn't have a name. > > > > If I need to cache a resource separately, I don't inline it. I'm just > not seeing the latency problem with inlining, if it only occurs when > the technique isn't used properly? > > -Eric > > > > > -=R > > > > > > On Wed, Jul 2, 2014 at 5:54 PM, Eric J. Bowman <eric@bisonsystems.net> > > wrote: > > > > > Roberto Peon wrote: > > > > > > > > Inlining is the technique most often used to reduce the number of > > > > request. > > > > > > > > > > I've also always considered it a worthwhile technique for > > > byte-shaving, as combining lots of small images into one mosaic > > > image eliminates whatever redundant bytes are inherent to the > > > chosen image format. > > > > > > > > > > > It is a strategy that works well most of the time for cold > > > > pageloads, but it also harms latency for subsequent navigations > > > > deeper into the site as those resources cannot be cached. > > > > > > > > > > But you lost me there, as I've never had a problem caching those > > > resources? Or does "inlining" not mean what I think it means? > > > > > > -Eric > > > >
- Reference set in HPACK Kazu Yamamoto ( 山本和彦 )
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Mark Nottingham
- Re: Reference set in HPACK Kazu Yamamoto ( 山本和彦 )
- Re: Reference set in HPACK Kazu Yamamoto ( 山本和彦 )
- Re: Reference set in HPACK Kazu Yamamoto ( 山本和彦 )
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Poul-Henning Kamp
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Poul-Henning Kamp
- Re: Reference set in HPACK Greg Wilkins
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Roberto Peon
- RE: Reference set in HPACK K.Morgan
- Re: Reference set in HPACK Roberto Peon
- RE: Reference set in HPACK K.Morgan
- RE: Reference set in HPACK K.Morgan
- Re: Reference set in HPACK Poul-Henning Kamp
- Re: Reference set in HPACK Poul-Henning Kamp
- RE: Reference set in HPACK K.Morgan
- Re: Reference set in HPACK Michael Sweet
- Re: Reference set in HPACK Kaoru Maeda
- Re: Reference set in HPACK Johnny Graettinger
- Re: Reference set in HPACK Martin Thomson
- Re: Reference set in HPACK Eric J. Bowman
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Eric J. Bowman
- Re: Reference set in HPACK Roberto Peon
- Re: Reference set in HPACK Eric J. Bowman
- RE: Reference set in HPACK RUELLAN Herve
- Re: Reference set in HPACK Eric J. Bowman
- Compression ratio of 09 (was: Reference set in HP… Kazu Yamamoto ( 山本和彦 )