W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2016

Re: Submitted new I-D: Cache Digests for HTTP/2

From: Alcides Viamontes E <alcidesv@zunzun.se>
Date: Tue, 9 Feb 2016 12:46:36 +0100
Message-ID: <CAAMqGzbuSNYC6ResLR=NT5bLoDFDBn+=jjk00jKTN2v5TFSZ5Q@mail.gmail.com>
To: Mike Bishop <Michael.Bishop@microsoft.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
>> Not something that we've implemented yet, but it's a valid scenario.

Pushing 304 works both in Chrome and Firefox:
https://drive.google.com/open?id=0B2F2m0rSqGCVWFJnTzRWOWFWQmc , we have
been doing it for some time.  But I agree that the HTTP/2 spec is very
vague regarding PUSH and cache interaction, I wish that could be
improved....


On Wed, Feb 3, 2016 at 8:01 PM, Mike Bishop <Michael.Bishop@microsoft.com>
wrote:

> We had talked at one point about intentionally pushing very specific
> conditional requests which would always have a 304 response.  The client,
> upon receipt, would either know that the resource in the cache was fresh
> (and could update cache lifetimes) or realize that an object they will need
> is not in the cache, and request it.
>
> Not something that we've implemented yet, but it's a valid scenario.
>
> -----Original Message-----
> From: Martin Thomson [mailto:martin.thomson@gmail.com]
> Sent: Tuesday, February 2, 2016 8:19 PM
> To: Amos Jeffries <squid3@treenet.co.nz>
> Cc: HTTP Working Group <ietf-http-wg@w3.org>
> Subject: Re: Submitted new I-D: Cache Digests for HTTP/2
>
> On 3 February 2016 at 07:26, Amos Jeffries <squid3@treenet.co.nz> wrote:
> > That is because PUSH by itself cannot do conditional requests.
> > Consider it to be the equivalent for a non-conditional request that
> > always gets the 200 status response with full new object and new expiry
> details.
>
> This isn't strictly true.  You can server push a conditional request, and
> in fact it can be advantageous to do so.
>
> Of course, the server doesn't always know enough about a client to make
> the *right* conditional request.
>
>
Received on Tuesday, 9 February 2016 11:47:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 22 March 2016 12:47:11 UTC