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

Re: How to stop receiving a pushed resource? (I-D Action: draft-ietf-httpbis-http2-01.txt)

From: (wrong string) 陈智昌 <willchan@chromium.org>
Date: Mon, 21 Jan 2013 18:23:04 -0800
Message-ID: <CAA4WUYjftBfen1-H9kq7zRCfCf-ST5fkv+Y9CCaRJ6TEBMRrPw@mail.gmail.com>
To: Frdric Kayser <f.kayser@free.fr>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Yes, the text at the bottom of your email is the mechanism that should
be used. It's possible that we could use some other mechanism to
convey the client cache in some way. There are many issues with it of

Note that web developers are already pushing resources. It's called
resource inlining
These resources do not have their own URLs, are usually inlined into
uncacheable documents, and thus are rarely cached at all. Using server
push will enable them to have their own URLs and be cached by the
client if that makes sense.

Remember, once you issue a request to a server, the server can send
you anything in return. It's in our interest to provide them better
facilities for sending responses, or they will hack around it in less
optimal ways.

On Mon, Jan 21, 2013 at 5:35 PM, Frdric Kayser <f.kayser@free.fr> wrote:
> Hello,
> is this the mechanism clients should use to stop receiving pushed resources they already have in their local cache?
> How are servers supposed to guess what to push or not? Is it be based on modification date, could the clients send some hints?
> Frdric
>> 4.3.2.  Client implementation
>>    When fetching a resource the client has 3 possibilities:
>>       the resource is not being pushed
>>       the resource is being pushed, but the data has not yet arrived
>>       the resource is being pushed, and the data has started to arrive
>>    When a SYN_STREAM and HEADERS frame which contains an Associated-To-
>>    Stream-ID is received, the client must not issue GET requests for the
>>    resource in the pushed stream, and instead wait for the pushed stream
>>    to arrive.
>> [...]
>>    To cancel individual server push streams, the client can issue a
>>    stream error (Section 3.4.2) with error code CANCEL.  Upon receipt,
>>    the server MUST stop sending on this stream immediately (this is an
>>    Abrupt termination).
Received on Tuesday, 22 January 2013 02:23:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:09 UTC